Browse Source

argus-clients: changed to use the prefix and sysconfdir of the argus package

stable/0.2
Christian Wiese 14 years ago
parent
commit
cd97c3e64c
  1. 9
      network/argus-clients/argus-clients.conf

9
network/argus-clients/argus-clients.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/.../argus-clients/argus-clients.conf # Filename: package/.../argus-clients/argus-clients.conf
# Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2007 - 2011 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,12 +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 pkginstalled argus ; then if [ "prefix_auto" = 1 ]; then
pkgprefix -t argus pkgprefix -t argus
prefix="$( pkgprefix argus )" prefix="$( pkgprefix argus )"
else sysconfdir="$( pkgprefix sysconfdir argus )"
[[ $prefix_auto = 1 ]] && prefix="opt/argus" set_confopt
fi fi
set_confopt
var_append makeopt " " "DESTDIR=$root" var_append makeopt " " "DESTDIR=$root"

Loading…
Cancel
Save