1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 05:02:40 +00:00
- Add new files to PKGBUILD backup
- Adjust Robo caller to use ARSSE_PHP variable; Windows will need adjusting later
This commit is contained in:
J. King 2023-12-29 19:42:33 -05:00
parent 9086a5d9b1
commit 4131531bff
2 changed files with 12 additions and 7 deletions

2
dist/arch/PKGBUILD vendored
View file

@ -16,7 +16,9 @@ optdepends=("nginx: HTTP server"
"postgresql>=10: Alternate database" "postgresql>=10: Alternate database"
"php-pgsql-interpreter>=7.3: PostgreSQL database support") "php-pgsql-interpreter>=7.3: PostgreSQL database support")
backup=("etc/webapps/arsse/config.php" backup=("etc/webapps/arsse/config.php"
"etc/webapps/arsse/systemd-environment"
"etc/php/php-fpm.d/arsse.conf" "etc/php/php-fpm.d/arsse.conf"
"etc/php-legacy/php-fpm.d/arsse.conf"
"etc/webapps/arsse/nginx/example.conf" "etc/webapps/arsse/nginx/example.conf"
"etc/webapps/arsse/nginx/arsse.conf" "etc/webapps/arsse/nginx/arsse.conf"
"etc/webapps/arsse/nginx/arsse-loc.conf" "etc/webapps/arsse/nginx/arsse-loc.conf"

17
robo
View file

@ -1,14 +1,17 @@
#! /bin/sh #! /bin/sh
base=`dirname "$0"` base=`dirname "$0"`
roboCommand="$1" command="$1"
robo="$base/vendor-bin/robo/vendor/bin/robo"
if [ -z "$ARSSE_PHP" ]; then
php="php"
else
php="$ARSSE_PHP"
fi
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
"$base/vendor-bin/robo/vendor/bin/robo" "$php" "$robo"
else else
shift shift
ulimit -n 2048 ulimit -n 2048
if [ "$1" = "clean" ]; then "$php" "$robo" "$command" -- "$@"
"$base/vendor-bin/robo/vendor/bin/robo" "$roboCommand" "$@"
else
"$base/vendor-bin/robo/vendor/bin/robo" "$roboCommand" -- "$@"
fi
fi fi