aboutsummaryrefslogtreecommitdiffstats
path: root/remove-packages
diff options
context:
space:
mode:
Diffstat (limited to 'remove-packages')
-rw-r--r--remove-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/remove-packages b/remove-packages
index 6de1c39..2ca29e2 100644
--- a/remove-packages
+++ b/remove-packages
@@ -4,6 +4,8 @@
#
# remove packages (*.npk) not matching installed version
+:if ([ /system resource get uptime ] < 1m) do={ :delay 1m; }
+
:local version [ / system package update get installed-version ];
:foreach package in=[ / file find type="package" ] do={