From 4832acae77b02a50c1a4758b8dac362066624ef9 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Mon, 11 Aug 2014 11:51:30 +0200 Subject: [PATCH] Revert "network-ups-tools: change config location" This reverts commit 0dc65f5974d8a5ea1f87ef8b01df9de1e20fff65. --- srcpkgs/network-ups-tools/template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/srcpkgs/network-ups-tools/template b/srcpkgs/network-ups-tools/template index 89dd62a4c6..81a7ac8b85 100644 --- a/srcpkgs/network-ups-tools/template +++ b/srcpkgs/network-ups-tools/template @@ -1,7 +1,7 @@ # Template file for 'network-ups-tools' pkgname=network-ups-tools version=2.7.2 -revision=4 +revision=3 build_style=gnu-configure configure_args=" --sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc --disable-static @@ -12,12 +12,12 @@ hostmakedepends="pkg-config" makedepends="avahi-libs-devel libressl-devel libusb-compat-devel neon-devel" system_accounts="nut" conf_files=" - /etc/nut/ups.conf - /etc/nut/upsmon.conf - /etc/nut/upsd.conf - /etc/nut/upssched.conf - /etc/nut/nut.conf - /etc/nut/upsd.users" + /etc/ups/ups.conf + /etc/ups/upsd.users + /etc/ups/upsmon.conf + /etc/ups/upsd.conf + /etc/ups/upssched.conf + /etc/ups/nut.conf" short_desc="NUT provides UPS control and monitoring features" maintainer="Ypnose " license="GPL-2" @@ -41,9 +41,9 @@ post_install() { rm -rf ${DESTDIR}/usr/{html,cgi-bin} # Prepare configuration files for f in ups upsd upsmon upssched nut; do - mv ${DESTDIR}/etc/nut/${f}.conf{.sample,} + mv ${DESTDIR}/etc/ups/${f}.conf{.sample,} done - mv ${DESTDIR}/etc/nut/upsd.users{.sample,} + mv ${DESTDIR}/etc/ups/upsd.users{.sample,} } libnetwork-ups-tools_package() {