Skip to content

Commit 69087b8

Browse files
committed
Update icon cache when installing on Linux
1 parent 5486930 commit 69087b8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packagescripts/linux/packageLinux.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ Name=Ride-${BASE_VERSION}
9494
Comment=Remote IDE for Dyalog APL
9595
Categories=Application;Development;Programming
9696
!!desktopFile
97+
fi
9798
99+
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
100+
gtk-update-icon-cache --quiet --force --ignore-theme-index /usr/share/icons/hicolor
98101
fi
99102
100103
!!postinst
@@ -117,6 +120,9 @@ if [ -s /usr/share/applications/dyalog.desktop ]; then
117120
rm /usr/share/applications/dyalog.desktop
118121
fi
119122
123+
if which gtk-update-icon-cache >/dev/null 2>&1 ; then
124+
gtk-update-icon-cache --quiet --force --ignore-theme-index /usr/share/icons/hicolor
125+
fi
120126
121127
!!prerm
122128

0 commit comments

Comments
 (0)