diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-15 16:40:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-15 16:40:43 +0000 |
commit | a457f7241c22f06451978afdd52cf993e62bd2d3 (patch) | |
tree | f9d4a70164136583db4fca8f7b548f2c5558356f | |
parent | d992b4aee59b470eb9943fcb245feecc1e79a00a (diff) | |
download | abuild-a457f7241c22f06451978afdd52cf993e62bd2d3.tar.gz abuild-a457f7241c22f06451978afdd52cf993e62bd2d3.tar.bz2 abuild-a457f7241c22f06451978afdd52cf993e62bd2d3.tar.xz abuild-a457f7241c22f06451978afdd52cf993e62bd2d3.zip |
abuild: use new apk-tools (2.x)v1.3
-rwxr-xr-x | abuild | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8,7 +8,7 @@ # Depends on: busybox utilities, fakeroot, # -abuild_ver=1.2 +abuild_ver=1.3 # read config MAKEAPK_CONF=${MAKEAPK_CONF:-/etc/abuild.conf} @@ -49,7 +49,7 @@ set_xterm_title() { cleanup() { set_xterm_title "" if [ -z "$install_after" ] && [ -n "$uninstall_after" ]; then - sudo apk_delete $uninstall_after + sudo apk delete $uninstall_after fi } @@ -438,7 +438,7 @@ deptrace() { ( depparse_aports if [ -z "$upgrade" ]; then # list installed pkgs and prefix with 'i ' - apk_info | sed 's/-[0-9].*//; s/^/i /' + apk info | sed 's/-[0-9].*//; s/^/i /' fi ) | awk -v pkgs="$BUILD_BASE $depends $makedepends" ' @@ -471,7 +471,7 @@ builddeps() { deps="$BUILD_BASE $depends $makedepends" if [ -z "$recursive" ]; then for i in $deps; do - apk_info -e $i || die "Missing dependency $i. Use -r to build recursively" + apk info -e $i || die "Missing dependency $i. Use -r to build recursively" done return 0 fi @@ -602,7 +602,7 @@ while [ $# -gt 0 ]; do done for i in $install_after; do - sudo apk_add -s -u $PKGDEST/$i-$pkgver-r$pkgrel.apk \ + sudo apk add $PKGDEST/$i-$pkgver-r$pkgrel.apk \ || die "Failed to install $i" done |