X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=13611780873a2f99df25f2f7814a56e62704af8b;hb=refs%2Fheads%2Fmaster;hp=ed61cd0b7e1feb27000fdfbde43d288fb40aab6e;hpb=0173cf11e9654d7d16fdc4081ac033c2e8fc3a76;p=ocsinventory-agent-cn.git diff --git a/debian/postinst b/debian/postinst index ed61cd0..1361178 100755 --- a/debian/postinst +++ b/debian/postinst @@ -5,13 +5,14 @@ set -e [ "$1" = "configure" ] || exit 0 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx -# Load CARNet Tools +# Load CARNET Tools . /usr/share/carnet-tools/functions.sh + # Load Debconf . /usr/share/debconf/confmodule ocsmethod="http" -ocsserver="https://inventory.CARNet.hr/ocsinventory" +ocsserver="https://inventory.carnet.hr/ocsinventory" db_get ocsinventory-agent/method || true method="$RET"