File: postinst

package info (click to toggle)
wm2 4-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 256 kB
  • ctags: 425
  • sloc: cpp: 3,648; makefile: 57; sh: 48
file content (13 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e
inst=/etc/menu-methods/wm2

if test -x /usr/bin/update-menus -a -f "$inst"; then 
  chmod a+x $inst
fi

touch /etc/X11/wm2/system.wm2rc
chmod a+x /etc/X11/wm2/system.wm2rc