diff --git a/debbuild/DEBIAN/control b/debbuild/DEBIAN/control index d05d502..aba97fb 100644 --- a/debbuild/DEBIAN/control +++ b/debbuild/DEBIAN/control @@ -1,6 +1,6 @@ Package: OMC Standards-Version: 1.6.1 -Version: 1.6.1-20230916 +Version: 1.6.1-YYYYMMDD Section: AGrandTech Prioritt: optional Architecture: amd64 diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 4f733c2..93791cd 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -19,14 +19,14 @@ echo "" cd ${X86Lib64Dir} chmod +rx libwireshark.so.15.0.12 -ln -s libwireshark.so.15.0.12 libwireshark.so.15 -ln -s libwireshark.so.15.0.12 libwireshark.so +if [ ! -e libwireshark.so.15 ]; then ln -s libwireshark.so.15.0.12 libwireshark.so.15; fi +if [ ! -e libwireshark.so ]; then ln -s libwireshark.so.15.0.12 libwireshark.so; fi chmod +rx libwiretap.so.12.0.12 -ln -s libwiretap.so.12.0.12 libwiretap.so.12 -ln -s libwiretap.so.12.0.12 libwiretap.so +if [ ! -e libwiretap.so.12 ]; then ln -s libwiretap.so.12.0.12 libwiretap.so.12; fi +if [ ! -e libwiretap.so ]; then ln -s libwiretap.so.12.0.12 libwiretap.so; fi chmod +rx libwsutil.so.13.1.0 -ln -s libwsutil.so.13.1.0 libwsutil.so.13 -ln -s libwsutil.so.13.1.0 libwsutil.so +if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi +if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi systemctl enable restagent.service systemctl enable crontask.service systemctl enable sshsvc.service