Skip to content

Commit

Permalink
correct install script
Browse files Browse the repository at this point in the history
  • Loading branch information
AXeL-dev committed Oct 30, 2018
1 parent 016ac10 commit 465c6f1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@ cp -R icons /usr/share/silaty/
cp -R audio /usr/share/silaty/
cp -R data /usr/share/silaty/

cp /usr/share/silaty/icons/hicolor/128x128/apps/silaty.svg /usr/share/icons/hicolor/scalable/apps/
chmod 644 /usr/share/icons/hicolor/scalable/apps/silaty.svg
cp icons/hicolor/128x128/apps/silaty.svg /usr/share/icons/hicolor/scalable/apps/
chmod 644 /usr/share/icons/hicolor/scalable/apps/silaty.svg

cp /usr/share/silaty/icons/hicolor/128x128/apps/silaty.svg /usr/share/icons/hicolor/128x128/apps/
chmod 644 /usr/share/icons/hicolor/128x128/apps/silaty.svg
cp icons/hicolor/128x128/apps/silaty.svg /usr/share/icons/hicolor/128x128/apps/
chmod 644 /usr/share/icons/hicolor/128x128/apps/silaty.svg

cp /usr/share/silaty/icons/hicolor/48x48/apps/silaty.svg /usr/share/icons/hicolor/48x48/apps/
chmod 644 /usr/share/icons/hicolor/48x48/apps/silaty.svg
cp icons/hicolor/48x48/apps/silaty.svg /usr/share/icons/hicolor/48x48/apps/
chmod 644 /usr/share/icons/hicolor/48x48/apps/silaty.svg

cp /usr/share/silaty/icons/hicolor/24x24/apps/silaty.svg /usr/share/icons/hicolor/24x24/apps/
chmod 644 /usr/share/icons/hicolor/24x24/apps/silaty.svg
cp icons/hicolor/24x24/apps/silaty.svg /usr/share/icons/hicolor/24x24/apps/
chmod 644 /usr/share/icons/hicolor/24x24/apps/silaty.svg

cp *.py /usr/share/silaty/
#pycompile silaty-indicator
mv /usr/share/silaty/silaty-indicator.py /usr/share/silaty/silaty-indicator
chmod 755 -R /usr/share/silaty/

cp silaty.desktop /etc/xdg/autostart/
Expand All @@ -35,7 +33,7 @@ chmod 755 /etc/xdg/autostart/silaty.desktop
cp silaty.desktop /usr/share/applications/
chmod 755 /usr/share/applications/silaty.desktop

ln -s /usr/share/silaty/silaty-indicator /usr/local/bin/silaty-indicator
ln -s /usr/share/silaty/silaty-indicator.py /usr/local/bin/silaty-indicator
chmod 755 /usr/local/bin/silaty-indicator

gtk-update-icon-cache

0 comments on commit 465c6f1

Please sign in to comment.