Skip to content

Commit

Permalink
feat(change_color): don't fully clean the export dir, but remove only…
Browse files Browse the repository at this point in the history
… theme-related files
  • Loading branch information
actionless committed Jun 15, 2024
1 parent 3540237 commit d5f39b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion change_color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ DEST_PATH="$DEST_PATH_ROOT/${OUTPUT_THEME_NAME/\//-}"
test "$SRC_PATH" = "$DEST_PATH" && echo "can't do that" && exit 1


rm -fr "$DEST_PATH"
rm -fr "${DEST_PATH}/{assets,cinnamon,gtk-2.0,gtk-3.0,gtk-3.20,index.theme,metacity-1,openbox-3,unity,xfwm4}"
mkdir -p "$DEST_PATH"
echo -e "\nBuilding theme at $DEST_PATH\n"
cp -r "$SRC_PATH/src/index.theme" "$DEST_PATH"
Expand Down

0 comments on commit d5f39b0

Please sign in to comment.