mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 05:02:40 +00:00
Move generic configuration file
This commit is contained in:
parent
18846c19cb
commit
758a02d667
3 changed files with 2 additions and 2 deletions
2
dist/arch/PKGBUILD
vendored
2
dist/arch/PKGBUILD
vendored
|
@ -47,7 +47,7 @@ package() {
|
||||||
# copy files requiring special permissions
|
# copy files requiring special permissions
|
||||||
cd "$srcdir/arsse"
|
cd "$srcdir/arsse"
|
||||||
install -Dm755 dist/arsse "$pkgdir/usr/bin/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
|
# 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/\/\(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"
|
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"
|
||||||
|
|
2
dist/arch/PKGBUILD-git
vendored
2
dist/arch/PKGBUILD-git
vendored
|
@ -63,7 +63,7 @@ package() {
|
||||||
# copy files requiring special permissions
|
# copy files requiring special permissions
|
||||||
cd "$srcdir/arsse"
|
cd "$srcdir/arsse"
|
||||||
install -Dm755 dist/arsse "$pkgdir/usr/bin/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
|
# 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/\/\(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"
|
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"
|
||||||
|
|
0
dist/arch/config.php → dist/config.php
vendored
0
dist/arch/config.php → dist/config.php
vendored
Loading…
Reference in a new issue