Sergej,
That's not *again* a smooth change! It breaks the logs and files upload for person using the previous default config. Why do not you put a message to inform that you will change paths? Regards, On 25/06/2014 19:06, Sergej Pupykin wrote: > Date: Wednesday, June 25, 2014 @ 19:06:46 > Author: spupykin > Revision: 113563 > > upgpkg: roundcubemail 1.0.1-3 > > upd > > Modified: > roundcubemail/trunk/PKGBUILD > > ----------+ > PKGBUILD | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) > > Modified: PKGBUILD > =================================================================== > --- PKGBUILD 2014-06-25 16:59:48 UTC (rev 113562) > +++ PKGBUILD 2014-06-25 17:06:46 UTC (rev 113563) > @@ -3,7 +3,7 @@ > > pkgname=roundcubemail > pkgver=1.0.1 > -pkgrel=2 > +pkgrel=3 > pkgdesc="A PHP web-based mail client" > arch=('any') > url="http://www.roundcube.net" > @@ -19,6 +19,15 @@ > md5sums=('2e1629ea21615005b0a991e591f36363' > '9ef887b19632239911b287ce0e270ae8') > > +prepare() { > + cd ${srcdir}/roundcubemail-${pkgver/rc/-rc} > + sed -i \ > + -e "s|RCUBE_INSTALL_PATH . 'temp.*|'/tmp/roundcubemail';|" \ > + -e "s|RCUBE_INSTALL_PATH . 'logs.*|'/var/log/roundcubemail';|" \ > + config/defaults.inc.php \ > + program/lib/Roundcube/rcube_config.php > +} > + > package() { > mkdir -p ${pkgdir}/etc/webapps/roundcubemail > mkdir -p ${pkgdir}/usr/share/webapps > @@ -33,14 +42,9 @@ > mv config $pkgdir/etc/webapps/roundcubemail/ > ln -s /etc/webapps/roundcubemail/config config > > - mv logs $pkgdir/var/log/roundcubemail > - ln -s /var/log/roundcubemail logs > - > install -Dm0644 $srcdir/apache.conf > $pkgdir/etc/webapps/roundcubemail/apache.conf > > - rm -rf temp > - ln -s /tmp/roundcube temp > - > + rm -rf temp logs > install -dm0755 $pkgdir/usr/lib/tmpfiles.d > - echo "d /tmp/roundcube 0770 http http -" > >$pkgdir/usr/lib/tmpfiles.d/roundcube.conf > + echo "d /tmp/roundcubemail 0770 http http -" > >$pkgdir/usr/lib/tmpfiles.d/roundcube.conf > } > -- Sébastien "Seblu" Luttringer https://seblu.net GPG: 0x2072D77A