summarylogtreecommitdiffstats
path: root/spotify.install
diff options
context:
space:
mode:
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
+}