fix: clean dest dir if not empty

This commit is contained in:
Pocco81
2022-01-27 20:44:04 -05:00
parent ba1277fbac
commit edcade0342
+1
View File
@@ -19,6 +19,7 @@ install:
package:
@echo -e "$(LOG_INFO) Packaging all dark Catppuccin accents 📦..."
@mkdir -p $(dest)
@[[ -z "$(shell ls -A -- "$(dest)")" ]] && { echo "empty"; } || { rm -r $(dest)/*; }
@./scripts/package.sh $(dest) $(quiet)
#? generate required CSS files for certain environments