summarylogtreecommitdiffstats
path: root/minirc.install
diff options
context:
space:
mode:
authorJonathan Steel2015-06-08 18:30:26 +0100
committerJonathan Steel2015-06-08 18:30:26 +0100
commit42dcab3977c1b61ec0d0990eb2cabfe44e0115b6 (patch)
treef9768e0e47abfa9a78d80dfb6ed8544a8ce2370e /minirc.install
downloadaur-42dcab3977c1b61ec0d0990eb2cabfe44e0115b6.tar.gz
Initial commit
Diffstat (limited to 'minirc.install')
-rw-r--r--minirc.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/minirc.install b/minirc.install
new file mode 100644
index 000000000000..aa5e30cf5eaa
--- /dev/null
+++ b/minirc.install
@@ -0,0 +1,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
+}