summarylogtreecommitdiffstats
path: root/spotify.install
diff options
context:
space:
mode:
authorAshley Whetter2015-06-08 11:27:33 +0100
committerAshley Whetter2015-06-08 11:27:33 +0100
commitdf0b5cc1eafbfaae0f949bff51e430b2949e4aa0 (patch)
tree1081a19c19d8840bff4bfe908af48e5aadb8986e /spotify.install
downloadaur-df0b5cc1eafbfaae0f949bff51e430b2949e4aa0.tar.gz
Initial import
Diffstat (limited to 'spotify.install')
-rw-r--r--spotify.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/spotify.install b/spotify.install
new file mode 100644
index 000000000000..f22bca23bf72
--- /dev/null
+++ b/spotify.install
@@ -0,0 +1,13 @@
+post_install() {
+ cd /usr/share/spotify/spotify-client
+ ./register.sh
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ cd /usr/share/spotify/spotify-client
+ ./unregister.sh
+}