summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-04-21 15:16:13 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-04-21 15:16:13 +0200
commitd9319cee6ff10b42e64145c82dfb246a1b3e551c (patch)
tree1dcf031f1409d0f48a27aea380ecad42117664b1 /dselect
parentb564740226100331f1aba8a1e35a57e5483361f7 (diff)
* dselect/install:
- modernize if-statements not to use 'x' (Closes: #577117) Thanks to Jari Aalto for spotting & patching!
Diffstat (limited to 'dselect')
-rwxr-xr-xdselect/install6
1 files changed, 3 insertions, 3 deletions
diff --git a/dselect/install b/dselect/install
index 6779698e0..109307f4d 100755
--- a/dselect/install
+++ b/dselect/install
@@ -46,7 +46,7 @@ yesno() {
echo $ans | tr YN yn
}
-if [ x$WAIT = "xtrue" ]; then
+if [ "$WAIT" = "true" ]; then
$APTGET $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade
echo $"Press enter to continue." && read RES
$APTGET $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade
@@ -70,8 +70,8 @@ if [ $RES -eq 0 ]; then
fi
NEWLS=`ls -ld $ARCHIVES`
- if [ x$CHECKDIR = "xtrue" ]; then
- if [ "x$OLDLS" = "x$NEWLS" ]; then
+ if [ "$CHECKDIR" = "true" ]; then
+ if [ "$OLDLS" = "$NEWLS" ]; then
exit 0
fi
fi