diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2022-07-01 21:52:52 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:55:33 +0700 |
commit | 126c8b01bf4931afffb461c6a7bd49f74e81516b (patch) | |
tree | 155b9f9e3437749d3814acce36fb56125563adc1 /system/timeshift/doinst.sh | |
parent | b2dd8636e4fe8a9ce61794380c170a725e3a1a87 (diff) |
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.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/timeshift/doinst.sh b/system/timeshift/doinst.sh new file mode 100644 index 0000000000000..aea0f894eb32b --- /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 |