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
|
||||
|
||||
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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user