mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
Adding new script to upgrade the theme
This commit is contained in:
parent
15936ec9d3
commit
b1adfe30da
19
arc-theme-upgrade
Executable file
19
arc-theme-upgrade
Executable file
@ -0,0 +1,19 @@
|
||||
#/!bin/bash
|
||||
|
||||
# Script to upgrade/install the arc-theme
|
||||
|
||||
# Remove previows files
|
||||
rm -rf /tmp/arc-theme
|
||||
|
||||
git clone https://github.com/horst3180/arc-theme /tmp/arc-theme --depth 1 && cd /tmp/arc-theme
|
||||
|
||||
# Remove old versions
|
||||
sudo rm -rf /usr/share/themes/{Arc,Arc-Darker,Arc-Dark}
|
||||
rm -rf ~/.local/share/themes/{Arc,Arc-Darker,Arc-Dark}
|
||||
rm -rf ~/.themes/{Arc,Arc-Darker,Arc-Dark}
|
||||
|
||||
./autogen.sh --prefix=/usr
|
||||
sudo make install
|
||||
|
||||
# Remove the sources
|
||||
rm -rf /tmp/arc-theme
|
@ -6,6 +6,11 @@ ithemedir = $(DESTDIR)$(themedir)
|
||||
ithemedarkerdir = $(DESTDIR)$(themedarkerdir)
|
||||
ithemedarkdir = $(DESTDIR)$(themedarkdir)
|
||||
|
||||
install-exec-hook:
|
||||
@ echo "Coping/upgrading arc-theme-upgrade script to /usr/bin/"
|
||||
@ pwd
|
||||
@ cp -f ../arc-theme-upgrade /usr/bin/
|
||||
|
||||
install-data-local:
|
||||
|
||||
if ENABLE_LIGHT
|
||||
|
Loading…
Reference in New Issue
Block a user