summaryrefslogtreecommitdiffstats
path: root/main/owncloud
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-08-17 11:35:37 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-08-17 11:35:37 +0000
commit4a22bad3310a37ebafbb7939343d39b5af85fad8 (patch)
tree101a23890e14c0cbaac60d5b951f54daeaa1e1b0 /main/owncloud
parent8339f92ee877b0dfb76770c71a66a292bbf877c0 (diff)
downloadaports-4a22bad3310a37ebafbb7939343d39b5af85fad8.tar.bz2
aports-4a22bad3310a37ebafbb7939343d39b5af85fad8.tar.xz
main/owncloud: add/update messages for install/upgrade
Diffstat (limited to 'main/owncloud')
-rw-r--r--main/owncloud/APKBUILD4
-rw-r--r--main/owncloud/owncloud.post-install14
-rw-r--r--main/owncloud/owncloud.post-upgrade8
3 files changed, 17 insertions, 9 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index 4ce2a5e24..17a7c76f0 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=owncloud
pkgver=4.0.7
-pkgrel=0
+pkgrel=1
pkgdesc="Your own WebDAV-based cloud service"
url="http://owncloud.org"
arch="noarch"
@@ -9,7 +9,7 @@ license="AGPL"
depends="php php-ctype php-gd php-json php-zip"
depends_dev=
makedepends="$depends_dev"
-install="$pkgname.post-install"
+install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-pgsql $pkgname-sqlite"
source="http://download.owncloud.org/releases/$pkgname-$pkgver.tar.bz2
owncloud.config.php"
diff --git a/main/owncloud/owncloud.post-install b/main/owncloud/owncloud.post-install
index c7288ac82..02731046d 100644
--- a/main/owncloud/owncloud.post-install
+++ b/main/owncloud/owncloud.post-install
@@ -1,8 +1,8 @@
#!/bin/sh
-echo --------------------------------------------------------------------------
-echo Please give ownership to the web server user, the following directories:
-echo
-echo /etc/owncloud/config
-echo /var/lib/owncloud/data
-echo /usr/share/webapps/owncloud/apps
-echo --------------------------------------------------------------------------
+echo *
+echo * Please give ownership to the web server user, the following directories:
+echo *
+echo * /etc/owncloud/config.php
+echo * /var/lib/owncloud/data
+echo * /usr/share/webapps/owncloud/apps
+echo *
diff --git a/main/owncloud/owncloud.post-upgrade b/main/owncloud/owncloud.post-upgrade
new file mode 100644
index 000000000..02731046d
--- /dev/null
+++ b/main/owncloud/owncloud.post-upgrade
@@ -0,0 +1,8 @@
+#!/bin/sh
+echo *
+echo * Please give ownership to the web server user, the following directories:
+echo *
+echo * /etc/owncloud/config.php
+echo * /var/lib/owncloud/data
+echo * /usr/share/webapps/owncloud/apps
+echo *