diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-08-11 20:08:43 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-08-12 11:55:47 +0200 |
commit | 94171725b18be91ddcc2530c5fe5f40e78d041c1 (patch) | |
tree | 908461d663a7e74c347d8fd55a203f6b8fbb5ef2 /dselect/install | |
parent | ad42ed4698c88e04bc242fb579f5b3e6fd9a0ee4 (diff) | |
download | apt-94171725b18be91ddcc2530c5fe5f40e78d041c1.tar.gz |
Replace all "press enter" occurrences with "press [Enter]"
Thanks: Andre Felipe Machado for initial patch
Closes: 414848
Diffstat (limited to 'dselect/install')
-rwxr-xr-x | dselect/install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dselect/install b/dselect/install index ef8de9b73..75f0c0fc4 100755 --- a/dselect/install +++ b/dselect/install @@ -49,7 +49,7 @@ yesno() { if [ "$WAIT" = "true" ]; then $APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade - echo $"Press enter to continue." && read RES + echo $"Press [Enter] to continue." && read RES $APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade RES=$? else @@ -81,18 +81,18 @@ if [ $RES -eq 0 ]; then case $(echo $CLEAN | tr '[:upper:]' '[:lower:]') in auto) $APTGET "$APT_OPT0" "$APT_OPT1" autoclean && - echo $"Press enter to continue." && read RES && exit 0; + echo $"Press [Enter] to continue." && read RES && exit 0; ;; always) $APTGET "$APT_OPT0" "$APT_OPT1" clean && - echo $"Press enter to continue." && read RES && exit 0; + echo $"Press [Enter] to continue." && read RES && exit 0; ;; prompt) exec 3>&1 echo -n $"Do you want to erase any previously downloaded .deb files?" if [ $(yesno "" y) = y ]; then $APTGET "$APT_OPT0" "$APT_OPT1" clean && - echo $"Press enter to continue." && read RES && exit 0; + echo $"Press [Enter] to continue." && read RES && exit 0; fi ;; *) @@ -103,7 +103,7 @@ else echo $"will be configured. This may result in duplicate errors" echo $"or errors caused by missing dependencies. This is OK, only the errors" echo $"above this message are important. Please fix them and run [I]nstall again" - echo $"Press enter to continue." + echo $"Press [Enter] to continue." read RES && $DPKG "$DPKG_OPTS" --configure -a exit 100 fi |