diff options
Diffstat (limited to 'parallels12-tools.install')
-rw-r--r-- | parallels12-tools.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/parallels12-tools.install b/parallels12-tools.install new file mode 100644 index 000000000000..2c03b7e3fe09 --- /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" +} |