summarylogtreecommitdiffstats
path: root/ocsinventory-agent.install
diff options
context:
space:
mode:
Diffstat (limited to 'ocsinventory-agent.install')
-rw-r--r--ocsinventory-agent.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/ocsinventory-agent.install b/ocsinventory-agent.install
new file mode 100644
index 000000000000..cecdf0695096
--- /dev/null
+++ b/ocsinventory-agent.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo "Edit /etc/ocsinventory/ocsinventory-agent.cfg with your server details."
+}
+pre_upgrade() {
+ mv /etc/ocsinventory/ocsinventory-agent.cfg /etc/ocsinventory/ocsinventory-agent.cfg.OLD
+}
+post_upgrade() {
+ mv /etc/ocsinventory/ocsinventory-agent.cfg.OLD /etc/ocsinventory/ocsinventory-agent.cfg
+}