From: Michael Wagner Date: Tue, 14 Jun 2016 12:37:43 +0000 (+0200) Subject: posaune X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=61fe08d5f92e36e5e756c88e7a4dcee8a0c594a9;p=kivitendo-erp.git posaune --- diff --git a/etc/kivitendo.control b/etc/kivitendo.control index 2535a57f5..4db035cb1 100644 --- a/etc/kivitendo.control +++ b/etc/kivitendo.control @@ -1,9 +1,18 @@ Package: kivitendo -Version: 3.0.0-%BUILD% +Version: 3.3.0-%BUILD% Section: base Priority: optional Architecture: all -Depends: apache2, postgresql, libapache2-mod-fcgid +Depends: apache2, postgresql, libapache2-mod-fcgid, libarchive-zip-perl, libclone-perl, + libconfig-std-perl, libdatetime-perl, libdbd-pg-perl, libdbi-perl, + libemail-address-perl, libemail-mime-perl, libfcgi-perl, libjson-perl, + liblist-moreutils-perl, libnet-smtp-ssl-perl, libnet-sslglue-perl, + libparams-validate-perl, libpdf-api2-perl, librose-db-object-perl, + librose-db-perl, librose-object-perl, libsort-naturally-perl, + libstring-shellquote-perl, libtemplate-perl, libtext-csv-xs-perl, + libtext-iconv-perl, liburi-perl, libxml-writer-perl, libyaml-perl, + libimage-info-perl, libgd-gd2-perl, + libfile-copy-recursive-perl, libalgorithm-checkdigits-perl Maintainer: WagnerTech UG Description: kivitendo-ERP diff --git a/etc/kivitendo.cp b/etc/kivitendo.cp index 29fde4737..092200c77 100755 --- a/etc/kivitendo.cp +++ b/etc/kivitendo.cp @@ -6,3 +6,5 @@ set -e mkdir -p $1/opt cp -a src/kivitendo-erp $1/opt mv $1/opt/kivitendo-erp $1/opt/kivitendo-erp-3.3.0 +ln -sf kivitendo-erp-3.3.0 $1/opt/kivitendo + diff --git a/etc/kivitendo.postinst b/etc/kivitendo.postinst index e21de9593..bc81d4542 100755 --- a/etc/kivitendo.postinst +++ b/etc/kivitendo.postinst @@ -12,18 +12,18 @@ then print "# Configuration for kivitendo"; \ print "# Kivitendo-Installattion mit FCGI"; \ print "AddHandler fcgid-script .fpl"; \ - print "AliasMatch ^/kivitendo/[^/]+\.pl /opt/kivitendo-erp-3.3.0/dispatcher.fpl"; \ - print "Alias /kivitendo/ /opt/kivitendo-erp-3.3.0/"; \ + print "AliasMatch ^/kivitendo/[^/]+\.pl /opt/kivitendo/dispatcher.fpl"; \ + print "Alias /kivitendo/ /opt/kivitendo/"; \ print "FcgidMaxRequestLen 10485760"; \ - print ""; \ + print ""; \ print " AllowOverride All"; \ print " Options ExecCGI Includes FollowSymlinks"; \ print " Order Allow,Deny"; \ print " Allow from All"; \ print ""; \ - print ""; \ + print ""; \ print " Order Deny,Allow"; \ print " Deny from All"; \ print ""; \ @@ -36,14 +36,14 @@ then fi # check configuration file -if [ ! -e /opt/kivitendo-erp-3.3.0/config/kivitendo.conf ] +if [ ! -e /opt/kivitendo/config/kivitendo.conf ] then echo "Type new kivitendo admin password:" read a - sed "s/admin123/$a/" /opt/kivitendo-erp-3.3.0/config/kivitendo.conf.default >/opt/kivitendo-erp-3.3.0/config/kivitendo.conf + sed "s/admin123/$a/" /opt/kivitendo/config/kivitendo.conf.default >/opt/kivitendo/config/kivitendo.conf fi # allow write access to some directories -chown www-data /opt/kivitendo-erp-3.3.0/users /opt/kivitendo-erp-3.3.0/templates -chgrp www-data /opt/kivitendo-erp-3.3.0/users /opt/kivitendo-erp-3.3.0/templates +chown www-data /opt/kivitendo/users /opt/kivitendo/templates +chgrp www-data /opt/kivitendo/users /opt/kivitendo/templates