diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
commit | b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71 (patch) | |
tree | 5948e97345062a759a5ab8d355b0b49849abcfcf /user/sane/APKBUILD | |
parent | d61220e97e3a4fec8c1e43970cb1408f790c2c2e (diff) | |
parent | 6bd200ed124893c95fda0335b684b26eba0bb743 (diff) | |
download | packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.gz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.bz2 packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.xz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.zip |
Merge branch 'bashisms' into 'master'
Purge bashisms, adduser, and addgroup from packages.git
See merge request adelie/packages!293
Diffstat (limited to 'user/sane/APKBUILD')
-rw-r--r-- | user/sane/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/sane/APKBUILD b/user/sane/APKBUILD index 941402502..42b4984c7 100644 --- a/user/sane/APKBUILD +++ b/user/sane/APKBUILD @@ -4,7 +4,7 @@ pkgname=sane _pkgname=sane-backends pkgver=1.0.27 -pkgrel=5 +pkgrel=6 pkgdesc="Scanner access library" url="http://www.sane-project.org/" arch="all" @@ -66,7 +66,7 @@ check() { package() { cd "$builddir" make DESTDIR="$pkgdir" install - echo -n "" > "$pkgdir"/etc/sane.d/dll.conf + printf "" > "$pkgdir"/etc/sane.d/dll.conf install -Dm644 backend/dll.aliases "$pkgdir"/etc/sane.d/dll.aliases } @@ -117,7 +117,7 @@ backends() { } _backend() { - local name=${subpkgname#$pkgname-backend-} + local name="${subpkgname#$pkgname-backend-}" depends="$pkgname" pkgdesc=$(eval echo \$_pkgdesc_$name) if [ ! "$pkgdesc" ]; then |