mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-07 04:34:05 +08:00
🌴 Sync 2026-06-16 03:50:57
This commit is contained in:
1 parent
4eeb591549
commit
843567ccd1
5 files changed
+27
-48
No files matched your search
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
LUCI_TITLE:=Spectra Theme
|
||||
LUCI_DEPENDS:=+curl +php8 +php8-cgi +php8-fpm +php8-mod-curl +php8-mod-zip +php8-mod-mbstring +ffmpeg
|
||||
PKG_VERSION:=27.574.74123~9e4b7f2
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
LUCI_MINIFY_CSS:=0
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ EOF
|
||||
|
||||
rm -rf /tmp/luci-*
|
||||
if [ -n "$(command -v nginx)" ];then
|
||||
if [ ! -f /etc/nginx/conf.d/spectra.locations ]; then
|
||||
cat << 'EOF' > /etc/nginx/conf.d/spectra.locations
|
||||
location /spectra/ {
|
||||
index index.php index.html index.htm;
|
||||
@@ -28,7 +27,6 @@ location /spectra/ {
|
||||
}
|
||||
EOF
|
||||
/etc/init.d/nginx restart
|
||||
fi
|
||||
elif [ -n "$(command -v lighttpd)" ];then
|
||||
cat << 'EOF' > /etc/lighttpd/conf.d/81-php.conf
|
||||
cgi.assign += ( ".php" => "/usr/bin/php-cgi" )
|
||||
|
||||
Reference in new issue
Block a user