summaryrefslogtreecommitdiff
path: root/extra/nxclient/nxclient.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nxclient/nxclient.install')
-rw-r--r--extra/nxclient/nxclient.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/nxclient/nxclient.install b/extra/nxclient/nxclient.install
new file mode 100644
index 000000000..9edb5939b
--- /dev/null
+++ b/extra/nxclient/nxclient.install
@@ -0,0 +1,22 @@
+post_install() {
+ update-desktop-database -q
+
+ echo "For correct setup please take a look at the wiki:"
+ echo "http://wiki.archlinux.org/index.php/FreeNX"
+
+
+}
+
+post_upgrade() {
+ update-desktop-database -q
+
+ if [ "`vercmp $2 3.5.0.7-1.1`" -lt 0 ]; then
+ # important upgrade notice
+ echo "because file location of the default key has been moved"
+ echo "you may need to reconfigure your connection and settings"
+ fi
+}
+
+post_remove() {
+ update-desktop-database -q
+}