add an if clause

This commit is contained in:
Osman Faruk Bayram 2025-05-06 21:24:53 +03:00
parent 050ce0c6b7
commit a8741f7e72

View file

@ -20,7 +20,11 @@ switch *args: check-git remove-hm-backup-files
fi fi
remove-hm-backup-files: remove-hm-backup-files:
rm ~/.gtkrc-2.0.hmbak #!/usr/bin/env sh
if [ -f ~/.gtkrc-2.0.hmbak ]; then
rm ~/.gtkrc-2.0.hmbak
fi
test: test:
nh os test . nh os test .