ufw: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 17:48:19 +02:00
parent a699edbf1b
commit eb5561a8e1
2 changed files with 6 additions and 7 deletions

View File

@ -3,8 +3,8 @@ Description=CLI Netfilter Manager
[Service]
Type=oneshot
ExecStart=/lib/ufw/ufw-init start
ExecStop=/lib/ufw/ufw-init stop
ExecStart=/usr/lib/ufw/ufw-init start
ExecStop=/usr/lib/ufw/ufw-init stop
RemainAfterExit=yes
[Install]

View File

@ -1,7 +1,7 @@
# Template file for 'ufw'
pkgname=ufw
version=0.30.1
revision=5
revision=6
distfiles="http://launchpad.net/ufw/0.30/$version/+download/$pkgname-$version.tar.gz"
build_style=python-module
depends="iptables python"
@ -20,8 +20,7 @@ noarch=yes
pycompile_module="ufw"
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
post_install()
{
vinstall ${FILESDIR}/ufw.service 644 lib/systemd/system
post_install() {
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
vmove "lib/*" usr/lib
}