summarylogtreecommitdiffstats
path: root/parallels12-tools.install
diff options
context:
space:
mode:
authorCody P Schafer2017-07-24 18:07:24 -0400
committerCody P Schafer2017-07-24 18:27:27 -0400
commit075da2442ab9d3368635b3632ef9f71f45b3cb38 (patch)
tree200c43bb3d433956d19a1c518e15e523c65934f3 /parallels12-tools.install
parent31a590138396928589ce0d1a1ac0c2f5c4f7bb2c (diff)
downloadaur-parallels12-tools.tar.gz
fix prltoolsd & init
Diffstat (limited to 'parallels12-tools.install')
-rw-r--r--parallels12-tools.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/parallels12-tools.install b/parallels12-tools.install
new file mode 100644
index 00000000000..2c03b7e3fe0
--- /dev/null
+++ b/parallels12-tools.install
@@ -0,0 +1,18 @@
+x11_conf=/usr/share/X11/xorg.conf.d/40-prltools.conf
+x11_ver=1.19
+
+## arg 1: the new package version
+post_install() {
+ python /usr/lib/parallels-tools/installer/xserver-config.py xorg "$x11_ver" '' "$x11_conf"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ python /usr/lib/parallels-tools/installer/xserver-config.py xorg "$x11_ver" '' "$x11_conf"
+}
+
+## arg 1: the old package version
+pre_remove() {
+ rm -f "$x11_conf"
+}