summaryrefslogtreecommitdiff
path: root/sbin/itzks-systems.do_preseed
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/itzks-systems.do_preseed')
-rwxr-xr-xsbin/itzks-systems.do_preseed2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/itzks-systems.do_preseed b/sbin/itzks-systems.do_preseed
index 6379dbe..10ce65d 100755
--- a/sbin/itzks-systems.do_preseed
+++ b/sbin/itzks-systems.do_preseed
@@ -37,5 +37,5 @@ do_preseed ocsinventory-agent ocsinventory-agent/method select http
do_preseed ocsinventory-agent ocsinventory-agent/server string inventory.it-zukunft-schule.de
echo -n "Silently running dpkg-reconfigure on package ocsinventory-agent ... "
-dpkg-reconfigure -pcritical ocsinventory-agent && echo "DONE." || echo "FAILED!!!"
+dpkg -l ocsinventory-agent 1>/dev/null 2>/dev/null && dpkg-reconfigure -pcritical ocsinventory-agent && echo "DONE." || echo "FAILED!!!"
echo