aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndřej Ešler <esler.ondrej@gmail.com>2021-10-15 16:13:50 +0000
committerAndy Postnikov <apostnikov@gmail.com>2021-10-18 16:03:14 +0000
commitf9bd114cfaa2f46fd9a44e7072763b6595023e73 (patch)
treebd7f3610a12b81fe6f983cd184053734adefed53
parente752e300d97cc1342f35a117b09dbd4227ca5b13 (diff)
downloadaports-f9bd114cfaa2f46fd9a44e7072763b6595023e73.tar.gz
aports-f9bd114cfaa2f46fd9a44e7072763b6595023e73.tar.bz2
aports-f9bd114cfaa2f46fd9a44e7072763b6595023e73.tar.xz
community/composer: fix broken shebang in compose.phar wrapper
-rw-r--r--community/composer/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/composer/APKBUILD b/community/composer/APKBUILD
index a4fa14df1b..760964c960 100644
--- a/community/composer/APKBUILD
+++ b/community/composer/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Dave Hall <skwashd@gmail.com>
pkgname=composer
pkgver=2.1.9
-pkgrel=0
+pkgrel=1
pkgdesc="Dependency manager for PHP"
url="https://getcomposer.org/"
arch="noarch"
@@ -27,7 +27,7 @@ check() {
package() {
install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname.phar
- printf "#/bin/sh\n\n/usr/bin/php8 /usr/bin/composer.phar \"\$@\"\n"\
+ printf "#!/bin/sh\n\n/usr/bin/php8 /usr/bin/composer.phar \"\$@\"\n"\
> "$pkgdir"/usr/bin/$pkgname
chmod +x "$pkgdir"/usr/bin/$pkgname
}