[arch-commits] Commit in tt-rss/trunk (PKGBUILD tt-rss.install)

Anatol Pomozov anatolik at archlinux.org
Wed Sep 2 04:30:35 UTC 2015


    Date: Wednesday, September 2, 2015 @ 06:30:34
  Author: anatolik
Revision: 139088

Move config.php configuration file into backup()

Remove useless install script

Modified:
  tt-rss/trunk/PKGBUILD
Deleted:
  tt-rss/trunk/tt-rss.install

----------------+
 PKGBUILD       |   14 ++++++--------
 tt-rss.install |    3 ---
 2 files changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-02 03:41:15 UTC (rev 139087)
+++ PKGBUILD	2015-09-02 04:30:34 UTC (rev 139088)
@@ -9,15 +9,15 @@
 pkgrel=1
 epoch=1
 pkgdesc='Web-based news feed (RSS/Atom) aggregator'
-arch=('any')
-url='http://tt-rss.org/redmine/'
-license=('GPL')
-depends=('php')
+arch=(any)
+url='http://tt-rss.org'
+license=(GPL)
+backup=(etc/webapps/tt-rss/config.php)
+depends=(php)
 optdepends=('mysql'
             'postgresql'
             'php-gd: for coloured feed badges')
 makedepends=('git')
-install=tt-rss.install
 _commit=2606a4e3aec72d8d0d8e5170c9ee2dfea25b9111
 # periodic releases are over https://tt-rss.org/forum/viewtopic.php?f=10&t=3262
 source=(git+https://tt-rss.org/git/tt-rss.git#commit=$_commit
@@ -36,10 +36,8 @@
 
   install -d "$_instdir"
   cp -ra * "$_instdir/"
-  rm -rf "$_instdir"/debian
 
-  install -d "$pkgdir"/etc/webapps/tt-rss
-  install -gm640 -g http config.php-dist "$pkgdir"/etc/webapps/tt-rss/config.php-dist
+  install -Dm640 -g http config.php-dist "$pkgdir"/etc/webapps/tt-rss/config.php
   ln -s /etc/webapps/tt-rss/config.php "$_instdir"/config.php
 
   install -d "$pkgdir"/var/lib/tt-rss

Deleted: tt-rss.install
===================================================================
--- tt-rss.install	2015-09-02 03:41:15 UTC (rev 139087)
+++ tt-rss.install	2015-09-02 04:30:34 UTC (rev 139088)
@@ -1,3 +0,0 @@
-post_upgrade() {
-    echo "===> Update config.php with new configuration data from config.php-dist if necessary."
-}



More information about the arch-commits mailing list