mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 17:20:47 -04:00
15 lines
646 B
Bash
Executable file
15 lines
646 B
Bash
Executable file
#!/usr/bin/env bash
|
|
echo "Papirus icon theme for GTK"
|
|
sleep 5
|
|
echo "Delete old Papirus icon theme ..."
|
|
sudo rm -rf /usr/share/icons/{Papirus-GTK,Papirus-Dark-GTK}
|
|
echo "Download new version from GitHub ..."
|
|
wget -c https://github.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/archive/master.zip -O /tmp/papirus-icon-theme-gtk.zip
|
|
echo "Unpack archive ..."
|
|
7za x /tmp/papirus-icon-theme-gtk.zip -o/tmp/
|
|
echo "Installing ..."
|
|
sudo cp -R /tmp/papirus-icon-theme-gtk-master/{Papirus-GTK,Papirus-Dark-GTK} /usr/share/icons/
|
|
sudo chmod -R 755 /usr/share/icons/{Papirus-GTK,Papirus-Dark-GTK}
|
|
echo "Delete cache ..."
|
|
rm -rf /tmp/papiru*
|
|
echo "Done!"
|