mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-25 14:20:05 -05:00
Keep build scripts aligned for Caddy helpers
This commit is contained in:
1 parent
85624c7465
commit
c5bcccfc4d
2 files changed
+11
-1
No files matched your search
+1
-1
@@ -230,7 +230,7 @@ cp mikrotik_ipv6.example.toml "$ETC_LIBREQOS_DIR"/mikrotik_ipv6.example.toml
|
||||
# Ensure helper scripts are executable in the package
|
||||
for helper_script in update_api.sh install_caddy.sh disable_caddy.sh; do
|
||||
if [ -f "$LQOS_DIR/$helper_script" ]; then
|
||||
chmod a+x "$LQOS_DIR/$helper_script" || true
|
||||
chmod a+x "$LQOS_DIR/$helper_script"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
@@ -134,6 +134,16 @@ popd > /dev/null || exit
|
||||
cp rust/target/$TARGET/liblqos_python.so ./liblqos_python.so.new
|
||||
mv liblqos_python.so.new liblqos_python.so
|
||||
|
||||
# Ensure runtime helper scripts required by the WebUI/setup flows exist and stay executable.
|
||||
for helper_script in update_api.sh install_caddy.sh disable_caddy.sh
|
||||
do
|
||||
if [ ! -f "$helper_script" ]; then
|
||||
echo "Expected runtime helper $helper_script to exist."
|
||||
exit 1
|
||||
fi
|
||||
chmod a+x "$helper_script"
|
||||
done
|
||||
|
||||
|
||||
|
||||
# Update the lqos_api binary
|
||||
|
||||
Reference in new issue
Block a user