From 74ee7e3f0278e39bec1773f7df2b298971089a1f Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Wed, 6 Sep 2023 16:15:08 +0800 Subject: [PATCH] zip --- debbuild/DEBIAN/postinst | 1 - debbuild/DEBIAN/preinst | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 debbuild/DEBIAN/preinst diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 8608534..d869c49 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -14,7 +14,6 @@ systemctl enable crontask.service systemctl enable sshsvc.service systemctl enable captrace.service systemctl daemon-reload -apt-get install zip if ! id -u omc >/dev/null 2>&1 ; then useradd -d /opt/omc -m -s /bin/bash -pomc123 omc; mkdir -p /opt/omc/ftp diff --git a/debbuild/DEBIAN/preinst b/debbuild/DEBIAN/preinst new file mode 100644 index 0000000..11e37d5 --- /dev/null +++ b/debbuild/DEBIAN/preinst @@ -0,0 +1,5 @@ +# !/bin/sh + +apt-get install zip + +