aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-28 18:35:25 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-28 18:36:40 +0200
commit3e272105092cd9804a5a022a188db929ebf440da (patch)
tree4f7a3ee562d75bbc2f34ca80e9d588a7b1d6a1c5
parent6c35ac03b9497af1491c8c9fd386faf5e78905f0 (diff)
downloadaports-3e272105092cd9804a5a022a188db929ebf440da.tar.bz2
aports-3e272105092cd9804a5a022a188db929ebf440da.tar.xz
main/owncloud: fix sedding of nonexistent file
-rw-r--r--main/owncloud/APKBUILD11
-rw-r--r--main/owncloud/owncloud.config.php.in (renamed from main/owncloud/owncloud.config.php)0
2 files changed, 6 insertions, 5 deletions
diff --git a/main/owncloud/APKBUILD b/main/owncloud/APKBUILD
index c2e5f1584f..fe58310a68 100644
--- a/main/owncloud/APKBUILD
+++ b/main/owncloud/APKBUILD
@@ -34,7 +34,7 @@ source="https://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2
$pkgname-tasks-$_tasksver.tar.gz::https://github.com/owncloud/tasks/archive/v$_tasksver.tar.gz
$pkgname.confd
fpm-pool.conf
- owncloud.config.php
+ owncloud.config.php.in
"
pkgusers="owncloud"
pkggroups="www-data"
@@ -49,7 +49,8 @@ _occonfdir="/etc/owncloud"
prepare() {
default_prepare || return 1
- sed "s/__VERSION__/$pkgver/" -i owncloud.config.php
+ sed "s/__VERSION__/$pkgver/" "$srcdir"/owncloud.config.php.in \
+ > "$srcdir"/owncloud.config.php
}
package() {
@@ -249,7 +250,7 @@ cc694da1f081181a9e36194803e50b3d owncloud-texteditor-9.1.3.tar.gz
84e7e522faa5f4a6bd3c75a29e259bcb owncloud-tasks-0.9.3.tar.gz
ea483e710da2fa9995543d9b5b8ee11e owncloud.confd
779c544fd1900557f4e69504aa28eeed fpm-pool.conf
-e1081190b2916a7f61fe403a03d8fa06 owncloud.config.php"
+e1081190b2916a7f61fe403a03d8fa06 owncloud.config.php.in"
sha256sums="e0a1eb35fffb61dab5ca41f6d3fdb4ddcc3ec09683cd620b8094846785d4f6e9 owncloud-9.1.3.tar.bz2
d6ea14796f27f4cfb6db63b8e3612a71d3e3e6e2d8edffce85df45fcb71c7106 owncloud-contacts-0.0.0.183.tar.gz
e3cd0de34e7de1d9f08d5c7dce5e9f45826cc9e59292b847fa900ca3cdf6b3fc owncloud-calendar-1.3.3.tar.gz
@@ -260,7 +261,7 @@ db3f803990612b1e6c6500a0b77ef7383da318b5b6e61bd4a1a4e586dc9b192f owncloud-pdfvi
0a5ef52ba915e7ec8f124ab7bd2c01f22db27f77343ddfa8d799927711133c55 owncloud-tasks-0.9.3.tar.gz
96d61ee75e8c948f78d31bdb770636819b8d678892a4003168c140fab69861cd owncloud.confd
41dd626e34ea0b0ea3eac13b43a655586097fe746d5a713c0c765dbc2b8c2fa0 fpm-pool.conf
-d00bdbf610d6994cdb61269620dc0fdb892a43a10895c00060d72731f7acd854 owncloud.config.php"
+d00bdbf610d6994cdb61269620dc0fdb892a43a10895c00060d72731f7acd854 owncloud.config.php.in"
sha512sums="e661d3a69d1bce51aa6336fddd2ba205970d0d14e306a6ea0befa9fad6bb3563ff26118cd0471d4728cd9387fe67b58ba55058109bbf84f6c5c71fd87be38cea owncloud-9.1.3.tar.bz2
7d0b3808a8734cd6895847ea1986345df71cd7e0633dcf2b8b9989bc9d38c3182bf6d93d75c32378270d124e885d7d730fd1ead5198bd9276de8425a5ff725d3 owncloud-contacts-0.0.0.183.tar.gz
8f2b260a63644a5fb529211dd160aa3169ffde56ceeacf25f7c7748b2d7dfa9b1115663955eae3b9e35283545e57ff1b6f48ea75713f50db6bab51ebdb5e598e owncloud-calendar-1.3.3.tar.gz
@@ -271,4 +272,4 @@ fde1758a512a960985cbbfde9294f77458fad2cb4801daceedac76a58dbb2862f2586cb17376915c
05903caadaab8c7982cb91b1442d617c777a9d97fcd5406d1b404006fa91ef73251852a53a03cb7fcbed097c1120fc920983c1a24a0e8f1f2e95b230153fd26a owncloud-tasks-0.9.3.tar.gz
7d1fa12f08f74b88d1ba7858a8295f6e5b200f16ed7366af48cc891b8c0074da85df008ed6f920df8b61bdfd5a27ac2a9623309b6334f82051a04067e746023e owncloud.confd
e5afd329faf06acec747cb2af8dea409b6991dcc7aa15e894444899ccaf17502fdfab437cfb91170d1e1aee39385b72f277922dccdd8c6e08cc928b146ccaeda fpm-pool.conf
-c7aa08cf9b8fb8f61454af3ccc5b743e33b4cc294e6c42ed2eb16894f0a411b22bdc4d8f691964860a7c88ea7255424c1e369063ae37041850a9624b4139d478 owncloud.config.php"
+c7aa08cf9b8fb8f61454af3ccc5b743e33b4cc294e6c42ed2eb16894f0a411b22bdc4d8f691964860a7c88ea7255424c1e369063ae37041850a9624b4139d478 owncloud.config.php.in"
diff --git a/main/owncloud/owncloud.config.php b/main/owncloud/owncloud.config.php.in
index 5fd814268c..5fd814268c 100644
--- a/main/owncloud/owncloud.config.php
+++ b/main/owncloud/owncloud.config.php.in