Skip to content

Commit

Permalink
fixed removal of some config files and missing of other ones
Browse files Browse the repository at this point in the history
	modified:   1-change-color.sh
	modified:   2-delete-assets.sh
  • Loading branch information
kunesj committed Nov 17, 2018
1 parent 86d57dd commit 0459bb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions 1-change-color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ newcolour7=$personaldarkcolour

SRC_DIR="src/Mint-Y"

find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour1'/'$newcolour1'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour2'/'$newcolour2'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour3'/'$newcolour3'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour4'/'$newcolour4'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour5'/'$newcolour5'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour6'/'$newcolour6'/g' {} \;
find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour7'/'$newcolour7'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour1'/'$newcolour1'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour2'/'$newcolour2'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour3'/'$newcolour3'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour4'/'$newcolour4'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour5'/'$newcolour5'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour6'/'$newcolour6'/g' {} \;
find $SRC_DIR -type f -exec sed -i 's/'$oldcolour7'/'$newcolour7'/g' {} \;


#Rubberband Solution for now
Expand Down
8 changes: 4 additions & 4 deletions 2-delete-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ SRC_DIR="src/Mint-Y"

echo "Deleting all assets i.e. png in the src folder"

rm -rf $SRC_DIR/gtk-2.0/assets/*
rm -rf $SRC_DIR/gtk-2.0/assets-dark/*
rm -rf $SRC_DIR/gtk-2.0/menubar-toolbar/*
rm -rf $SRC_DIR/gtk-2.0/assets/*.png
rm -rf $SRC_DIR/gtk-2.0/assets-dark/*.png
rm -rf $SRC_DIR/gtk-2.0/menubar-toolbar/*.png

rm -rf $SRC_DIR/gtk-3.0/assets/*
rm -rf $SRC_DIR/gtk-3.0/assets/*.png


echo "All png's have been deleted"
Expand Down

0 comments on commit 0459bb0

Please sign in to comment.