aboutsummaryrefslogtreecommitdiffstats
path: root/setup-acf.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:11:04 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:11:21 +0100
commit07c02f672a5708e4dcd9ed9aa3935840916f4c6e (patch)
tree9ff73b028918c1b7940fcbf31fcf87176c8bd741 /setup-acf.in
parentcb474e20d6ff923a8f338f26b93234411065ffc0 (diff)
downloadalpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.bz2
alpine-conf-07c02f672a5708e4dcd9ed9aa3935840916f4c6e.tar.xz
replace deprecated `...` syntax with $(...) in shell scripts
Diffstat (limited to 'setup-acf.in')
-rw-r--r--setup-acf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-acf.in b/setup-acf.in
index c22a975..46e3529 100644
--- a/setup-acf.in
+++ b/setup-acf.in
@@ -23,14 +23,14 @@ while getopts "ae:hl:n" opt ; do
*) usage;;
esac
done
-shift `expr $OPTIND - 1`
+shift $(expr $OPTIND - 1)
while [ $# -gt 0 ]; do
pkgs="$pkgs acf-$1"
shift
done
-# install packages
+# install packages
apk add mini_httpd $pkgs || exit 1
if [ "$create_passwd" != "no" ]; then