X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=e54d7eabe7fde62c0cca37b89e0f0fe47738c044;hb=86635ba11f25f1580bb058a044eaf10b7d8a4f39;hp=ed61cd0b7e1feb27000fdfbde43d288fb40aab6e;hpb=0173cf11e9654d7d16fdc4081ac033c2e8fc3a76;p=ocsinventory-agent-cn.git diff --git a/debian/postinst b/debian/postinst index ed61cd0..e54d7ea 100755 --- a/debian/postinst +++ b/debian/postinst @@ -7,11 +7,12 @@ set -e # 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"