forked from verdnatura/hedera-web
Lintian warnings solved
This commit is contained in:
parent
4fecd778de
commit
9a009cacc0
|
@ -1,17 +1,18 @@
|
|||
Source: hedera-web
|
||||
Priority: optional
|
||||
Maintainer: Juan Ferrer Toribio <juan@verdnatura.es>
|
||||
Build-Depends: build-essential, debhelper, nodejs
|
||||
Build-Depends: build-essential, debhelper, dh-apache2, nodejs
|
||||
Standards-Version: 3.9.3
|
||||
Section: misc
|
||||
Homepage: http://www.verdnatura.es
|
||||
Vcs-Git: git://www.verdnatura.es/var/git/hedera-web
|
||||
Vcs-Git: https://git.verdnatura.es/hedera-web
|
||||
|
||||
Package: hedera-web
|
||||
Architecture: all
|
||||
Depends: apache2, php5-mysql, php5-mcrypt, php5-ldap, php5-ssh2, php-vn-lib, nodejs
|
||||
Depends: apache2 | httpd, nodejs, php5-cli, php5-mysql, php5-mcrypt, php5-ldap, php5-ssh2, php-vn-lib
|
||||
Suggests: php-text-captcha, php5-imap, tinymce
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Description: Verdnatura's web page
|
||||
Verdnatura's web page.
|
||||
Web page used by Verdnatura, it includes user authetication, a simple CMS and
|
||||
a webpshop.
|
||||
|
|
|
@ -11,6 +11,5 @@ rest usr/share/hedera-web
|
|||
index.php usr/share/hedera-web
|
||||
package.json usr/share/hedera-web
|
||||
build usr/share/hedera-web
|
||||
LICENSE usr/share/hedera-web
|
||||
README.md usr/share/hedera-web
|
||||
webpack.config.json usr/share/hedera-web
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /usr/share/hedera-web && npm install --production
|
||||
a2enconf hedera-web
|
||||
set -e
|
||||
|
||||
(cd /usr/share/hedera-web && npm install --production)
|
||||
|
||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
||||
then
|
||||
. /usr/share/apache2/apache2-maintscript-helper
|
||||
apache2_invoke enconf hedera-web.conf
|
||||
fi
|
||||
|
||||
service apache2 reload
|
||||
service php5-fpm restart
|
||||
service cron restart
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
||||
then
|
||||
. /usr/share/apache2/apache2-maintscript-helper
|
||||
apache2_invoke disconf hedera-web.conf
|
||||
fi
|
||||
|
||||
rm -rf /usr/share/hedera-web/node_modules
|
||||
service apache2 reload
|
||||
service cron restart
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
dh $@ --with apache2
|
||||
|
||||
clean:
|
||||
npm --production run clean
|
||||
|
|
Loading…
Reference in New Issue