Fix SASS upstream sync scripts
This commit is contained in:
parent
201180c2ef
commit
40a53f8d98
@ -7,20 +7,20 @@ RESET='\033[0m'
|
|||||||
VERSION=3.38.0
|
VERSION=3.38.0
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
|
echo " $YELLOW[ i ]$RESET Upstream version $VERSION"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
while read file;
|
while read file;
|
||||||
do
|
do
|
||||||
echo
|
echo
|
||||||
echo -e " $GREEN[ * ]$RESET Downloading file $file"
|
echo " $GREEN[ * ]$RESET Downloading file $file"
|
||||||
mkdir -p $(dirname $file)
|
mkdir -p $(dirname $file)
|
||||||
wget https://gitlab.gnome.org/GNOME/gnome-shell/raw/$VERSION/data/theme/$file -O $file --quiet
|
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
|
sed 's/resource:\/\/\/org\/gnome\/shell\/theme/assets/g' -i $file
|
||||||
|
|
||||||
if [ -f $file.patch ]
|
if [ -f $file.patch ]
|
||||||
then
|
then
|
||||||
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
|
echo " $YELLOW[ ~ ]$RESET Apply patch"
|
||||||
patch $file $file.patch --quiet
|
patch $file $file.patch --quiet
|
||||||
fi
|
fi
|
||||||
done <<- EOF
|
done <<- EOF
|
||||||
|
|||||||
@ -7,7 +7,7 @@ RESET='\033[0m'
|
|||||||
while read file;
|
while read file;
|
||||||
do
|
do
|
||||||
echo
|
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
|
wget https://gitlab.gnome.org/GNOME/libhandy/-/raw/master/src/themes/$file --timestamping --quiet
|
||||||
done <<- EOF
|
done <<- EOF
|
||||||
_definitions.scss
|
_definitions.scss
|
||||||
|
|||||||
@ -7,18 +7,18 @@ RESET='\033[0m'
|
|||||||
VERSION=3.24.23
|
VERSION=3.24.23
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -e " $YELLOW[ i ]$RESET Upstream version $VERSION"
|
echo " $YELLOW[ i ]$RESET Upstream version $VERSION"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
while read file;
|
while read file;
|
||||||
do
|
do
|
||||||
echo
|
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
|
wget https://gitlab.gnome.org/GNOME/gtk/raw/$VERSION/gtk/theme/Adwaita/$file --timestamping --quiet
|
||||||
|
|
||||||
if [ -f $file.patch ]
|
if [ -f $file.patch ]
|
||||||
then
|
then
|
||||||
echo -e " $YELLOW[ ~ ]$RESET Apply patch"
|
echo " $YELLOW[ ~ ]$RESET Apply patch"
|
||||||
patch $file $file.patch --quiet
|
patch $file $file.patch --quiet
|
||||||
fi
|
fi
|
||||||
done <<- EOF
|
done <<- EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user