diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/php7/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index 8d3f8fed4b..ddddfb5505 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -313,7 +313,7 @@ pear() { "$subpkgdir"/etc/$pkgname local file; for file in pecl pear peardev; do - mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/$file$_suffix done mv "$pkgdir"/etc/$pkgname/pear.conf "$subpkgdir"/etc/$pkgname/ || return 1 mv "$pkgdir"/usr/share "$subpkgdir"/usr/ @@ -332,8 +332,14 @@ common() { phar() { _package_ext || return 1 + mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/phar* "$subpkgdir"/usr/bin/ + + mv "$pkgdir"/usr/bin/phar.phar \ + "$subpkgdir"/usr/bin/phar.phar$_suffix || return 1 + + rm "$pkgdir"/usr/bin/phar + ln -s phar.phar$_suffix "$subpkgdir"/usr/bin/phar$_suffix } _package_ext() { |