ufw: switch to /usr.
This commit is contained in:
parent
a699edbf1b
commit
eb5561a8e1
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue