From 79d8a3cf3bf91fc3410f90eec062859f356420db Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Wed, 31 May 2023 17:26:25 +1000 Subject: [PATCH] fix delete archivefilename file --- rename-e-smith-pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index 731da93..2f742f2 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -253,7 +253,7 @@ git rm "$SOURCEPKG.spec" git add "$TARGETPKG.spec" #Delete archivefilename file if it follows the new standard -if [ !e archivefilename ] ; then git rm archivefilename ; fi +if [ -e archivefilename ] ; then git rm archivefilename ; fi #Update createlinks # - if there is an e-smith--update event rename to smeserver--update and add symlink