From 1725832b6c8af1fb24a0048b1d15ce97b0e7f2e7 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Thu, 6 Apr 2017 11:08:57 -0400
Subject: [PATCH] address issue where uninstalling an empty package will erase
 all code in src

---
 src/Install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Install.sh b/src/Install.sh
index 307188a09f..e9c8b80595 100644
--- a/src/Install.sh
+++ b/src/Install.sh
@@ -33,5 +33,5 @@ action () {
 # all package files with no dependencies
 
 for file in *.cpp *.h; do
-  action $file
+  test -f ${file} && action $file
 done
-- 
GitLab