diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-05-10 14:51:31 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-05-10 14:51:31 -0700 |
commit | 8a79a5eb1435c887be4b8ed94d79fa4e90af718d (patch) | |
tree | 673447cbd5fd3eb05de85bfb95f483a355c9ccf3 /sh/upd | |
parent | c8f04cc878e0c89fae9e709bea57bd723c220121 (diff) |
upd consider clean firefox profile arkenfox userjs_backups dir
Diffstat (limited to 'sh/upd')
-rwxr-xr-x | sh/upd | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |