Fix SASS upstream sync scripts

This commit is contained in:
Daniel Ruiz de Alegría 2020-10-26 12:36:21 +01:00
parent 201180c2ef
commit 40a53f8d98
3 changed files with 7 additions and 7 deletions

View File

@ -7,20 +7,20 @@ RESET='\033[0m'
VERSION=3.38.0
echo
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo
while read file;
do
echo
echo -e " $GREEN[ * ]$RESET Downloading file $file"
echo " $GREEN[ * ]$RESET Downloading file $file"
mkdir -p $(dirname $file)
wget https://gitlab.gnome.org/GNOME/gnome-shell/raw/$VERSION/data/theme/$file -O $file --quiet
sed 's/resource:\/\/\/org\/gnome\/shell\/theme/assets/g' -i $file
if [ -f $file.patch ]
then
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
echo " $YELLOW[ ~ ]$RESET Apply patch"
patch $file $file.patch --quiet
fi
done <<- EOF

View File

@ -7,7 +7,7 @@ RESET='\033[0m'
while read file;
do
echo
echo -e " $GREEN[ * ]$RESET Downloading file $file"
echo " $GREEN[ * ]$RESET Downloading file $file"
wget https://gitlab.gnome.org/GNOME/libhandy/-/raw/master/src/themes/$file --timestamping --quiet
done <<- EOF
_definitions.scss

View File

@ -7,18 +7,18 @@ RESET='\033[0m'
VERSION=3.24.23
echo
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo " $YELLOW[ i ]$RESET Upstream version $VERSION"
echo
while read file;
do
echo
echo -e " $GREEN[ * ]$RESET Downloading file $file"
echo " $GREEN[ * ]$RESET Downloading file $file"
wget https://gitlab.gnome.org/GNOME/gtk/raw/$VERSION/gtk/theme/Adwaita/$file --timestamping --quiet
if [ -f $file.patch ]
then
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
echo " $YELLOW[ ~ ]$RESET Apply patch"
patch $file $file.patch --quiet
fi
done <<- EOF