diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-21 20:08:03 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-21 20:08:03 +0100 |
commit | bf756b8474254fefb1951ff00a5f1f109eacc597 (patch) | |
tree | e98da92582b93bb9c34599b259a1c4021eaa9dbd /setup-interfaces.in | |
parent | 94ab8c592f99d69994d1ff462dc6ccbc22035c99 (diff) | |
download | alpine-conf-bf756b8474254fefb1951ff00a5f1f109eacc597.tar.bz2 alpine-conf-bf756b8474254fefb1951ff00a5f1f109eacc597.tar.xz |
setup-interfaces: do not use pkg_inst
we will never support any other package manager than apk add so lets clean
up the code
Diffstat (limited to 'setup-interfaces.in')
-rwxr-xr-x | setup-interfaces.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in index 3a17c90..7fe1247 100755 --- a/setup-interfaces.in +++ b/setup-interfaces.in @@ -242,8 +242,8 @@ prompt_for_interfaces() { if yesno "$answer"; then case "$EDITOR" in - nano) pkg_inst nano;; - vim) pkg_inst vim;; + nano) apk add nano;; + vim) apk add vim;; esac ${EDITOR:-vi} interfaces fi |