Skip to content

Commit

Permalink
Update icon cache when installing on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRivers committed Jan 24, 2017
1 parent 5486930 commit 69087b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packagescripts/linux/packageLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ Name=Ride-${BASE_VERSION}
Comment=Remote IDE for Dyalog APL
Categories=Application;Development;Programming
!!desktopFile
fi
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
gtk-update-icon-cache --quiet --force --ignore-theme-index /usr/share/icons/hicolor
fi
!!postinst
Expand All @@ -117,6 +120,9 @@ if [ -s /usr/share/applications/dyalog.desktop ]; then
rm /usr/share/applications/dyalog.desktop
fi
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
gtk-update-icon-cache --quiet --force --ignore-theme-index /usr/share/icons/hicolor
fi
!!prerm

Expand Down

0 comments on commit 69087b8

Please sign in to comment.