diff options
Diffstat (limited to 'system/razerCommander')
-rw-r--r-- | system/razerCommander/doinst.sh | 6 | ||||
-rw-r--r-- | system/razerCommander/razerCommander.SlackBuild | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/system/razerCommander/doinst.sh b/system/razerCommander/doinst.sh index 140e33222297c..5934a15ab1eff 100644 --- a/system/razerCommander/doinst.sh +++ b/system/razerCommander/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/system/razerCommander/razerCommander.SlackBuild b/system/razerCommander/razerCommander.SlackBuild index 8dba9e62017d1..7bc465ce5b5ca 100644 --- a/system/razerCommander/razerCommander.SlackBuild +++ b/system/razerCommander/razerCommander.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220426 bkw: Modified by SlackBuilds.org, BUILD=2: +# - update icon cache in doinst.sh. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=razerCommander VERSION=${VERSION:-1.2.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 |