Keep build scripts aligned for Caddy helpers

This commit is contained in:
Herbert Wolverson committed 2026-04-16 11:09:31 -05:00
1 parent 85624c7465
commit c5bcccfc4d
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -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
+10
View File
@@ -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