aboutsummaryrefslogtreecommitdiffstats
path: root/claude-desktop-bin/doinst.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-09 11:41:15 +0200
committerDanilo M. <danix@danix.xyz>2026-07-09 11:41:15 +0200
commit9fe7acec8fdeca19d493e0add544298d5f031e12 (patch)
tree242608974d83328addb502907f91d322961a7ff5 /claude-desktop-bin/doinst.sh
parent982b768be4e68a5a82be9d5498b0b8416a244077 (diff)
downloadmy-slackbuilds-9fe7acec8fdeca19d493e0add544298d5f031e12.tar.gz
my-slackbuilds-9fe7acec8fdeca19d493e0add544298d5f031e12.zip
claude-desktop-bin: add version 1.18286.2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'claude-desktop-bin/doinst.sh')
-rw-r--r--claude-desktop-bin/doinst.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/claude-desktop-bin/doinst.sh b/claude-desktop-bin/doinst.sh
new file mode 100644
index 0000000..1730f4f
--- /dev/null
+++ b/claude-desktop-bin/doinst.sh
@@ -0,0 +1,17 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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 -f -q usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+# Chromium's SUID sandbox helper must be setuid root. Re-assert in case the
+# package did not preserve the 4755 bit.
+chmod 4755 usr/lib/claude-desktop/chrome-sandbox 2>/dev/null