diff options
author | Florian Bruhin | 2019-05-27 11:53:40 +0200 |
---|---|---|
committer | Florian Bruhin | 2019-05-27 11:53:40 +0200 |
commit | ecde95ed27c293605b46b17d27df15ed93fac64c (patch) | |
tree | de6259b40620769122ae697719cff8c0bc9eab6e | |
parent | 2c6c2d8c17474918e3213aba4b2709fba4042be4 (diff) | |
download | aur-ecde95ed27c293605b46b17d27df15ed93fac64c.tar.gz |
Remove initial DB setup
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | baikal.install | 9 |
3 files changed, 2 insertions, 11 deletions
@@ -14,7 +14,7 @@ pkgbase = baikal source = https://github.com/fruux/Baikal/releases/download/0.5.2/baikal-0.5.2.zip source = baikal.install sha1sums = 58c241be61889589395b207ff2187656ff3a9691 - sha1sums = af1ac68cd5194d24525a2eafee2122aaf3fcbb43 + sha1sums = deb948e61c3cd8d6ad560321f78c0b288f7a6210 pkgname = baikal @@ -13,7 +13,7 @@ optdepends=('sqlite: Database' 'mariadb: Alternate database' 'php-sqlite: To use source=("https://github.com/fruux/Baikal/releases/download/$pkgver/baikal-$pkgver.zip" 'baikal.install') sha1sums=('58c241be61889589395b207ff2187656ff3a9691' - 'af1ac68cd5194d24525a2eafee2122aaf3fcbb43') + 'deb948e61c3cd8d6ad560321f78c0b288f7a6210') options=('!strip') install=baikal.install diff --git a/baikal.install b/baikal.install index 0dfc7771332b..f5d3e229eef4 100644 --- a/baikal.install +++ b/baikal.install @@ -1,15 +1,6 @@ # Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org> post_install() { - if [[ ! -f /var/lib/baikal/db/db.sqlite ]]; then - # Create initial database if it doesn't exist. - # Note we can't do this while packaging because we don't want to override - # an older database. - mkdir /var/lib/baikal/db - cp /usr/share/webapps/baikal/Core/Resources/Db/SQLite/db.sqlite \ - /var/lib/baikal/db - chown -R http:http /var/lib/baikal/db - fi echo "Please add /var/lib/baikal to open_basedir in your /etc/php.ini." echo echo "You also need to set up your webserver for baikal, there are example" |