forked from feedindicator/Feedindicator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedindicator-install.sh
executable file
·29 lines (22 loc) · 1.64 KB
/
feedindicator-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
sudo apt-get install python-feedparser python-configobj python-appindicator
sudo xdg-icon-resource install --theme ubuntu-mono-dark --novendor --size 22 dark/indicator-feedindicator.png indicator-feedindicator
sudo xdg-icon-resource install --theme ubuntu-mono-dark --novendor --size 22 dark/indicator-feedindicator-attention.png indicator-feedindicator-attention
sudo xdg-icon-resource install --theme ubuntu-mono-light --novendor --size 22 light/indicator-feedindicator.png indicator-feedindicator
sudo xdg-icon-resource install --theme ubuntu-mono-light --novendor --size 22 light/indicator-feedindicator-attention.png indicator-feedindicator-attention
sudo xdg-icon-resource install --theme hicolor --novendor --size 22 hicolor/indicator-feedindicator.png indicator-feedindicator
sudo xdg-icon-resource install --theme hicolor --novendor --size 22 hicolor/indicator-feedindicator-attention.png indicator-feedindicator-attention
sudo xdg-icon-resource install --theme hicolor --novendor --size 128 --context apps feedindicator-logo.png feedindicator
sudo xdg-icon-resource install --theme hicolor --novendor --size 48 --context apps feedindicator-48x48.png feedindicator
sudo xdg-desktop-menu install --novendor feedindicator.desktop
if [ ! -d /usr/share/feedindicator/ ]
then
sudo mkdir /usr/share/feedindicator
fi
sudo cp feedindicator-icon.png /usr/share/feedindicator/feedindicator-icon.png
sudo cp feedindicator-logo.png /usr/share/feedindicator/feedindicator-logo.png
sudo cp -r languages/ /usr/share/feedindicator/
sudo cp feedindicator /usr/bin/feedindicator
sudo chmod +x /usr/bin/feedindicator
MESSAGE="Feedindicator install completed."
echo $MESSAGE