aboutsummaryrefslogtreecommitdiffstats
path: root/setup-bootable.in
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-07-31 16:40:34 -0400
committerJeff Bilyk <jbilyk@gmail.com>2011-07-31 16:40:34 -0400
commit50a00f2f0f268425bebb5c1084b7ccf75e1ec519 (patch)
tree18753bea36baf35e9d7d7d9cc654f3b5931328f4 /setup-bootable.in
parent70b1a6716dc5e2ed4a4b92d908691f86924c3753 (diff)
downloadalpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.bz2
alpine-conf-50a00f2f0f268425bebb5c1084b7ccf75e1ec519.tar.xz
setup-{apklbu, bootable, chrony, sshd}: replace double equals in if statements with single equals
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 30410ad..c0766fb 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -117,7 +117,7 @@ elif [ -b "$dest" ]; then
fi
# Check for RO mounting
-if [ "`grep \"$destdir\" /proc/mount | grep 'ro,'`" == "ro" ]; then
+if [ "`grep \"$destdir\" /proc/mount | grep 'ro,'`" = "ro" ]; then
remountneeded="Y"
mount -o remount,rw "$destdir"
fi
@@ -261,7 +261,7 @@ else
echo "Warning: Could not find the parent device for $dest"
fi
-if [ "$remountneeded" == "Y" ]; then
+if [ "$remountneeded" = "Y" ]; then
mount -o remount,ro "$destdir"
fi