summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rwxr-xr-xsh/upd2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/upd b/sh/upd
index f3838de..229f837 100755
--- a/sh/upd
+++ b/sh/upd
@@ -98,6 +98,8 @@ clean () {
cd "$profile_dir/prefsjs_backups" || exit
# https://stackoverflow.com/a/34862475/9008720
ls -t | tail -n +11 | tr '\n' '\0' | xargs -0 rm --
+ cd "$profile_dir/userjs_backups" || exit
+ ls -t | tail -n +11 | tr '\n' '\0' | xargs -0 rm --
fi
if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ]; then