summaryrefslogtreecommitdiff
path: root/user/transmission/transmission.post-install
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2019-09-10 08:15:52 +0000
committerDan Theisen <djt@hxx.in>2019-09-10 09:32:51 +0000
commit2c05a88e2092278475b862b96d04d5d67cee4ea3 (patch)
tree6eff4683946278ca29269956c1db1b81b348df1b /user/transmission/transmission.post-install
parentf9ba226858a27bb322bad90ad988971f9afa8314 (diff)
downloadpackages-2c05a88e2092278475b862b96d04d5d67cee4ea3.tar.gz
packages-2c05a88e2092278475b862b96d04d5d67cee4ea3.tar.bz2
packages-2c05a88e2092278475b862b96d04d5d67cee4ea3.tar.xz
packages-2c05a88e2092278475b862b96d04d5d67cee4ea3.zip
user/transmission: new package
Diffstat (limited to 'user/transmission/transmission.post-install')
-rw-r--r--user/transmission/transmission.post-install12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/transmission/transmission.post-install b/user/transmission/transmission.post-install
new file mode 100644
index 000000000..6002c7430
--- /dev/null
+++ b/user/transmission/transmission.post-install
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+pkgname=transmission
+
+if ! apk list $pkgname-qt $pkgname-gtk $pkgname-daemon | grep "[installed]"; then
+ echo "############################################################################"
+ echo "# WARNING: It doesn't look like you installed a GUI or Daemon! #"
+ echo "# transmission is just a shared package with assets. To install a GUI, you #"
+ echo "# can install either transmission-qt or transmission-gtk. To install the #"
+ echo "# daemon please install transmission-daemon. #"
+ echo "############################################################################"
+fi