diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-26 01:12:47 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-29 10:30:54 -0400 |
commit | 0815ce41d31dd5b7d63db5e4df1356d13416d4eb (patch) | |
tree | 33b55f94f41e7e2d34abf2c246b6adc5c76f0f87 /system/razerCommander | |
parent | 9f22e25f25d4650e677d0a2fe8e8a5c83935ed63 (diff) | |
download | slackbuilds-0815ce41d31dd5b7d63db5e4df1356d13416d4eb.tar.gz |
system/razerCommander: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 140e332222..5934a15ab1 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 8dba9e6201..7bc465ce5b 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 |