diff options
author | Andrew Dolgov <[email protected]> | 2012-10-19 14:38:54 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-10-19 14:38:54 +0400 |
commit | 8c25264dfd6aae0e3362823410cdfc3102a74782 (patch) | |
tree | 3bbd58372115d3113232747bf46ab36927336764 /debian/tt-rss-mysql.postinst | |
parent | 629c7449f81b8123d87518292645ee7513986993 (diff) |
remove debian stuff
Diffstat (limited to 'debian/tt-rss-mysql.postinst')
-rw-r--r-- | debian/tt-rss-mysql.postinst | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/debian/tt-rss-mysql.postinst b/debian/tt-rss-mysql.postinst deleted file mode 100644 index 64671e82b..000000000 --- a/debian/tt-rss-mysql.postinst +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -set -e - -PACKAGE=tt-rss-mysql - -case "$1" in - configure) - - # source debconf stuff - if [ -f /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - fi - - # debconf messages - db_get $PACKAGE/webserver || true - WEBSERVER="$RET"; - - # webserver configuration - if $WEBSERVER; then - if [ ! -d /etc/apache2/conf.d/ ]; then - install -d -m755 /etc/apache2/conf.d/ - fi - - if [ ! -e /etc/apache2/conf.d/$PACKAGE.conf ]; then - ln -s /etc/$PACKAGE/apache.conf /etc/apache2/conf.d/$PACKAGE.conf - #sed -e "s#tt-rss/www#$PACKAGE/www#" -i /etc/$PACKAGE/apache.conf - fi - if apache2ctl configtest 2>/dev/null; then - invoke-rc.d apache2 force-reload || true - else - echo "apache need to be reload manualy" - fi - fi - - # dbconfig-common - . /usr/share/dbconfig-common/dpkg/postinst.mysql - dbc_first_version="1.3.1" - dbc_generate_include="php:/etc/$PACKAGE/database.php" - dbc_generate_include_owner="root:www-data" - dbc_generate_include_perms="0640" - dbc_go $PACKAGE $@ - - echo "Install ok on http://localhost/tt-rss/" - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -exit 0 -#DEBHELPER# |