diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-10 12:30:25 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-10 12:30:25 +0200 |
| commit | 85c8acbae12efa575c77691bdf8fe6f2d180f2d1 (patch) | |
| tree | 256b008c8d7e79992f1799d4b1dd117d10d73132 /btop/doinst.sh | |
| parent | 35c5bdf8533c2013f026114a96ae50a1a7e177ab (diff) | |
| download | my-slackbuilds-85c8acbae12efa575c77691bdf8fe6f2d180f2d1.tar.gz my-slackbuilds-85c8acbae12efa575c77691bdf8fe6f2d180f2d1.zip | |
Added btop
Diffstat (limited to 'btop/doinst.sh')
| -rw-r--r-- | btop/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/btop/doinst.sh b/btop/doinst.sh new file mode 100644 index 0000000..e3d6e86 --- /dev/null +++ b/btop/doinst.sh @@ -0,0 +1,11 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + +/sbin/setcap cap_perfmon=+ep usr/bin/btop |
