mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
Uninstaller: don't remove configuration files
This commit is contained in:
parent
2d572a6ba7
commit
6672d4b341
@ -14,6 +14,9 @@
|
|||||||
* new package including OsmAnd+ (OpenStreetMap) and the ContourLines plugin
|
* new package including OsmAnd+ (OpenStreetMap) and the ContourLines plugin
|
||||||
* thanks to @Vavun for most of the work
|
* thanks to @Vavun for most of the work
|
||||||
|
|
||||||
|
* Uninstaller
|
||||||
|
* don't remove configuration files
|
||||||
|
|
||||||
## 20.2.20181122 "Cardenas"
|
## 20.2.20181122 "Cardenas"
|
||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
|
@ -257,17 +257,6 @@ ui_print " "
|
|||||||
detect_bootmode
|
detect_bootmode
|
||||||
mount_partitions
|
mount_partitions
|
||||||
|
|
||||||
ui_print " << Removing configuration files (if any)"
|
|
||||||
|
|
||||||
for path in ${config_locations}; do
|
|
||||||
for file in ${config_files}; do
|
|
||||||
if [ -f "${path}/${file}" ]; then
|
|
||||||
rm -f "${path}/${file}"
|
|
||||||
ui_print " <<> removing ${path}/${file}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
ui_print " << Removing installation logs (if any)"
|
ui_print " << Removing installation logs (if any)"
|
||||||
|
|
||||||
# old format
|
# old format
|
||||||
|
Loading…
Reference in New Issue
Block a user