summarylogtreecommitdiffstats
path: root/minirc.install
blob: aa5e30cf5eaacf2352ea0d2a2c16bd183bf470c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  if [[ -z $( grep -i 'needs_root_rights = yes' /etc/X11/Xwrapper.config 2> /dev/null ) ]]; then
    echo '==> In order to use X, add the following to /etc/X11/Xwrapper.config
    allowed_users = anybody
    needs_root_rights = yes'
  fi
}

post_upgrade() {
  post_install
}