1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

test install workaround

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-04-22 17:13:53 +02:00
parent 8ef28ba4bc
commit dd0cd92a35

View file

@ -1655,7 +1655,7 @@ if [ "$(iptables-save | grep omr-bypass)" = "" ] && [ "$(pgrep omr-bypass)" = ""
/etc/init.d/omr-bypass 2>&1 >/dev/null
fi
if [ -f /etc/backup/installed_packages.txt ]; then
if [ -f /etc/backup/installed_packages.txt ] && [ -n "$(grep overlay /etc/backup/installed_packages.txt)" ]; then
_log "Reinstall packages..."
/etc/init.d/sysupgrade restart 2>&1 >/dev/null
fi