From 0459bb014c217577b4c3e2d3864a5b3bb682edae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kune=C5=A1?= Date: Sat, 17 Nov 2018 12:13:38 +0100 Subject: [PATCH] fixed removal of some config files and missing of other ones modified: 1-change-color.sh modified: 2-delete-assets.sh --- 1-change-color.sh | 14 +++++++------- 2-delete-assets.sh | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/1-change-color.sh b/1-change-color.sh index 0b4d7af..b9cf99b 100755 --- a/1-change-color.sh +++ b/1-change-color.sh @@ -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 diff --git a/2-delete-assets.sh b/2-delete-assets.sh index c8a55e1..11d4a75 100755 --- a/2-delete-assets.sh +++ b/2-delete-assets.sh @@ -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"