summaryrefslogtreecommitdiff
path: root/src/remove.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-09 17:53:55 +0100
committerdavidovski <david@davidovski.xyz>2022-04-09 17:53:55 +0100
commitbc4902d4c702d9beac47e975dd962851a59dace5 (patch)
tree061a347190a57558c299bda389d1f92ec614fb0a /src/remove.sh
parent3c8b781a437e8f2b7721d2afcf4ccf714d382d83 (diff)
fixed broken permisisons for bootstrap
Diffstat (limited to 'src/remove.sh')
-rw-r--r--src/remove.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remove.sh b/src/remove.sh
index 7bbb889..fcff458 100644
--- a/src/remove.sh
+++ b/src/remove.sh
@@ -4,6 +4,7 @@ remove () {
local packages=$@
local to_remove="${CACHE_DIR}/toremove"
+ [ -d ${CACHE_DIR} ] || mkdir -p ${CACHE_DIR}
[ -f $to_remove ] && rm $to_remove
touch $to_remove
local real=""