Browse Source

nut: changed to use a dedicated sysconfdir instead of using /etc

user/karasz/firmware
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
071652581c
  1. 7
      monitor/nut/nut.conf

7
monitor/nut/nut.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../nut/nut.conf # Filename: package/.../nut/nut.conf
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 - 2012 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -12,6 +12,11 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ]; then
# use a dedicated sysconfdir instead of installing into /etc
sysconfdir="$sysconfdir/$pkg"
fi
# we patch drivers/Makefile.am to not install the driver skeleton # we patch drivers/Makefile.am to not install the driver skeleton
# (see: no_skel.patch) # (see: no_skel.patch)
hook_add preconf 5 "aclocal -I m4; autoconf; automake -a" hook_add preconf 5 "aclocal -I m4; autoconf; automake -a"

Loading…
Cancel
Save