diff --git a/dist/arch/PKGBUILD b/dist/arch/PKGBUILD index dd35407f..48a6dc33 100644 --- a/dist/arch/PKGBUILD +++ b/dist/arch/PKGBUILD @@ -47,7 +47,7 @@ package() { # copy files requiring special permissions cd "$srcdir/arsse" install -Dm755 dist/arsse "$pkgdir/usr/bin/arsse" - install -Dm640 dist/arch/config.php "$pkgdir/etc/webapps/arsse" + install -Dm640 dist/config.php "$pkgdir/etc/webapps/arsse" # patch generic configuration files to use Arch-specific paths and identifiers sed -i -se 's/\/\(etc\|usr\/share\)\/arsse\//\/\1\/webapps\/arsse\//g' "$pkgdir/etc/webapps/arsse/nginx/"* "$pkgdir/etc/webapps/arsse/apache/"* "$pkgdir/usr/lib/tmpfiles.d/arsse.conf" "$pkgdir/usr/lib/systemd/system/"* "$pkgdir/usr/bin/"* sed -i -se 's/\/var\/run\/php\//\/run\/php-fpm\//g' "$pkgdir/etc/webapps/arsse/nginx/"* "$pkgdir/etc/webapps/arsse/apache/"* "$pkgdir/etc/php/php-fpm.d/arsse.conf" diff --git a/dist/arch/PKGBUILD-git b/dist/arch/PKGBUILD-git index bb43eb49..4249f0a1 100644 --- a/dist/arch/PKGBUILD-git +++ b/dist/arch/PKGBUILD-git @@ -63,7 +63,7 @@ package() { # copy files requiring special permissions cd "$srcdir/arsse" install -Dm755 dist/arsse "$pkgdir/usr/bin/arsse" - install -Dm640 dist/arch/config.php "$pkgdir/etc/webapps/arsse" + install -Dm640 dist/config.php "$pkgdir/etc/webapps/arsse" # patch generic configuration files to use Arch-specific paths and identifiers sed -i -se 's/\/\(etc\|usr\/share\)\/arsse\//\/\1\/webapps\/arsse\//g' "$pkgdir/etc/webapps/arsse/nginx/"* "$pkgdir/etc/webapps/arsse/apache/"* "$pkgdir/usr/lib/tmpfiles.d/arsse.conf" "$pkgdir/usr/lib/systemd/system/"* "$pkgdir/usr/bin/"* sed -i -se 's/\/var\/run\/php\//\/run\/php-fpm\//g' "$pkgdir/etc/webapps/arsse/nginx/"* "$pkgdir/etc/webapps/arsse/apache/"* "$pkgdir/etc/php/php-fpm.d/arsse.conf" diff --git a/dist/arch/config.php b/dist/config.php similarity index 100% rename from dist/arch/config.php rename to dist/config.php