summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/54-menu
blob: 0a68e3ed310cbe61e733418ed04bb7402e79f133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

echo "Registering and tweaking menus"

for app in tails-installer-launcher tails-persistence-delete tails-persistence-setup tails-about tails-documentation; do
   xdg-desktop-menu install --novendor \
      /usr/share/desktop-directories/Tails.directory \
      "/usr/share/applications/${app}.desktop"
done

rm /usr/share/applications/laptop-mode-tools.desktop

xdg-desktop-menu forceupdate