From a8741f7e72a47ec4d2eb9becd971b24c6578652d Mon Sep 17 00:00:00 2001 From: osbm Date: Tue, 6 May 2025 21:24:53 +0300 Subject: [PATCH] add an if clause --- justfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 6af9033..e9297b0 100644 --- a/justfile +++ b/justfile @@ -20,7 +20,11 @@ switch *args: check-git remove-hm-backup-files fi 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: nh os test .