Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-04-27 19:19:15 +0300
committernachoparker <nacho@ownyourbits.com>2017-04-27 19:49:28 +0300
commit8200602ee5d4260be00a69c17b1a781068a5fb5e (patch)
treea0e807bdc668a232b0bd8b9fd0ce54ee033c8f50
parentbe2e4e610b3873f89672b2930541058461c9e11d (diff)
dont ask for confirmation on exiting configv0.8.3
-rwxr-xr-xetc/library.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/etc/library.sh b/etc/library.sh
index a3330fce..aeb5fd97 100755
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -162,19 +162,8 @@ function config()
case $RET in
$DIALOG_CANCEL)
- dialog \
- --no-lines --clear \
- --backtitle "$BACKTITLE" \
- --yesno "Really quit?" 10 30
- case $? in
- $DIALOG_OK)
- echo "Aborted"
- return 1
- ;;
- $DIALOG_CANCEL)
- RET=99
- ;;
- esac
+ echo "Aborted"
+ return 1
;;
$DIALOG_OK)
local RET=( $value )
@@ -203,7 +192,6 @@ function config()
[[ "$CFGOUT" != "" ]] && echo -e "$CONFIG" > "$CFGOUT"
}
-
function install_script()
{
(