diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-26 11:04:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-26 11:04:40 +0000 |
commit | 8112d2422a983769458b673e081c7ebdf58d1b07 (patch) | |
tree | fa421226d86015268aefd778112cb6d50c942f3a | |
parent | 728ce0e6de359073451f79984f0d2bdc40696c90 (diff) | |
download | abuild-8112d2422a983769458b673e081c7ebdf58d1b07.tar.gz abuild-8112d2422a983769458b673e081c7ebdf58d1b07.tar.bz2 abuild-8112d2422a983769458b673e081c7ebdf58d1b07.tar.xz abuild-8112d2422a983769458b673e081c7ebdf58d1b07.zip |
abuild: use deps/undeps instead or installdeps/uninstalldeps
-rwxr-xr-x | abuild.in | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1712,17 +1712,21 @@ post_add() { || die "Failed to install $1" } -installdeps() { +deps() { local deps i $SUDO_APK add $apk_opt_wait --repository "$abuildrepo" \ --virtual .makedepends-$pkgname \ $makedepends } -uninstalldeps (){ +undeps (){ $SUDO_APK del $apk_opt_wait .makedepends-$pkgname } +# compat +installdeps() { deps; } +uninstalldeps() { undeps; } + all() { if ! [ -n "$force" ]; then check_arch || return 0 @@ -1830,8 +1834,8 @@ usage() { echo " srcpkg Make a source package" echo " sourcecheck Check if remote source package exists upstream" echo " up2date Compare target and sources dates" - echo " installdeps Install packages listed in makedepends and depends" - echo " uninstalldeps Uninstall packages listed in makedepends and depends" + echo " deps Install packages listed in makedepends and depends" + echo " undeps Uninstall packages listed in makedepends and depends" echo " snapshot Create a \$giturl or \$svnurl snapshot and upload to \$disturl" echo "" exit 0 |