diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-24 13:31:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-24 13:31:07 +0000 |
commit | 9db66b5f2aa4c21af248507b767893ea112320ac (patch) | |
tree | 6f8cda6471bb294712fba9f9141339cdd751b1c7 /setup-acf.in | |
parent | fa0b9b141e214c6e01f62482d0a6703123675ef2 (diff) | |
download | alpine-conf-9db66b5f2aa4c21af248507b767893ea112320ac.tar.bz2 alpine-conf-9db66b5f2aa4c21af248507b767893ea112320ac.tar.xz |
Use 'apk <cmd>' instead of apk_<cmd>
Diffstat (limited to 'setup-acf.in')
-rw-r--r-- | setup-acf.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-acf.in b/setup-acf.in index c6f621e..487db00 100644 --- a/setup-acf.in +++ b/setup-acf.in @@ -15,7 +15,7 @@ pkgs="acf-core acf-alpine-baselayout acf-apk-tools openssl" while getopts "ae:hl:n" opt ; do case $opt in - a) pkgs=`apk_fetch -l | grep ^acf-`;; + a) pkgs=`apk fetch -l | grep ^acf-`;; e) EMAIL="$OPTARG";; h) usage;; l) address="$OPTARG";; @@ -44,7 +44,7 @@ if [ "$create_passwd" != "no" ]; then fi # install packages -apk_add mini_httpd $pkgs || exit 1 +apk add mini_httpd $pkgs || exit 1 # setup mini_httpd and start it if [ -d /var/www/localhost/htdocs ]; then |