From 8a79a5eb1435c887be4b8ed94d79fa4e90af718d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 10 May 2024 14:51:31 -0700 Subject: upd consider clean firefox profile arkenfox userjs_backups dir --- sh/upd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sh') 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 -- cgit v1.2.3-70-g09d2