CommonInstaller: auto-migrate from Substratum to Bucket, if required

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent f6dd01355d
commit cce0e0baa0

@ -1172,10 +1172,15 @@ check_cfg_apps () {
sed -e 's/^INSTALL_APPS=//;s/\"//g' -i "${cfg_apps}"
fi
# 16.3 has KeePass DX instead of KeePassDroid, migrate
# <= 16.3 has KeePass DX instead of KeePassDroid, migrate
if grep -q KeePassDroid "${cfg_apps}"; then
sed -e 's/KeePassDroid/KeePassDX/g' -i "${cfg_apps}"
fi
# <= 17.0~beta1 has Substratum instead of Bucket (LibreSubtratum), migrate
if grep -q Substratum "${cfg_apps}"; then
sed -e 's/Substratum/Bucket/g' -i "${cfg_apps}"
fi
}
# check whether '.nanodroid-overlay' has new format

Loading…
Cancel
Save