mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 05:22:58 +03:00
install_easy: preserve settings notice
This commit is contained in:
parent
9b331abb74
commit
ea5ec61e0a
@ -353,7 +353,7 @@ check_location()
|
|||||||
echo installer found existing $ZAPRET_BASE
|
echo installer found existing $ZAPRET_BASE
|
||||||
echo directory needs to be replaced. config and custom scripts can be kept or replaced with clean version
|
echo directory needs to be replaced. config and custom scripts can be kept or replaced with clean version
|
||||||
if ask_yes_no N "do you want to delete all files there and copy this version"; then
|
if ask_yes_no N "do you want to delete all files there and copy this version"; then
|
||||||
ask_yes_no Y "keep config and custom scripts" && keep=Y
|
ask_yes_no Y "keep config, custom scripts and user lists" && keep=Y
|
||||||
[ "$keep" = "Y" ] && backup_restore_settings 1
|
[ "$keep" = "Y" ] && backup_restore_settings 1
|
||||||
rm -r "$ZAPRET_BASE"
|
rm -r "$ZAPRET_BASE"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user