From: Marcin Haba Date: Sun, 15 Mar 2015 11:38:52 +0000 (+0100) Subject: baculum: Add links file to deb packages metadata X-Git-Tag: Release-7.2.0~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52e36a2eb07cf2c0be895348086b9d9fa71b97fd;p=bacula%2Fbacula baculum: Add links file to deb packages metadata --- diff --git a/gui/baculum/debian/baculum.links b/gui/baculum/debian/baculum.links new file mode 100644 index 0000000000..aa56cc61e2 --- /dev/null +++ b/gui/baculum/debian/baculum.links @@ -0,0 +1,3 @@ +usr/share/javascript/excanvas/excanvas.js usr/share/baculum/htdocs/protected/JavaScript/excanvas.js +etc/baculum/baculum.users usr/share/baculum/htdocs/protected/Data/baculum.users +usr/share/doc/baculum/copyright usr/share/baculum/htdocs/LICENSE \ No newline at end of file diff --git a/gui/baculum/debian/baculum.postinst b/gui/baculum/debian/baculum.postinst index 6e0f3b894e..f534378989 100644 --- a/gui/baculum/debian/baculum.postinst +++ b/gui/baculum/debian/baculum.postinst @@ -2,16 +2,13 @@ set -e -if [ "$1" = "configure" ] ; then - chown -R www-data:www-data /etc/baculum - chown -R www-data:www-data /usr/share/baculum/htdocs - chmod 750 /etc/baculum - chmod 750 /usr/share/baculum/htdocs/protected/Data - ln -s -f /usr/share/javascript/excanvas/excanvas.js /usr/share/baculum/htdocs/protected/JavaScript/excanvas.js - ln -s /etc/baculum/baculum.users /usr/share/baculum/htdocs/protected/Data/baculum.users - ln -s /usr/share/doc/baculum/copyright /usr/share/baculum/htdocs/LICENSE -fi +case "$1" in + configure) + chown -R www-data:www-data /etc/baculum + chown -R www-data:www-data /usr/share/baculum/htdocs + chmod 750 /etc/baculum + chmod 750 /usr/share/baculum/htdocs/protected/Data + ;; +esac #DEBHELPER# - -exit 0 \ No newline at end of file