summaryrefslogtreecommitdiffstats
path: root/system/timeshift/doinst.sh
diff options
context:
space:
mode:
author Antonio Leal2022-07-01 22:52:52 +0200
committer Willy Sudiarto Raharjo2022-07-02 04:55:33 +0200
commit126c8b01bf4931afffb461c6a7bd49f74e81516b (patch)
tree155b9f9e3437749d3814acce36fb56125563adc1 /system/timeshift/doinst.sh
parentb2dd8636e4fe8a9ce61794380c170a725e3a1a87 (diff)
downloadslackbuilds-126c8b01bf4931afffb461c6a7bd49f74e81516b.tar.gz
system/timeshift: Added (incremental snapshots, backup and restore)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/timeshift/doinst.sh')
-rw-r--r--system/timeshift/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/timeshift/doinst.sh b/system/timeshift/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/system/timeshift/doinst.sh
@@ -0,0 +1,13 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi