mirror of
https://github.com/naruxde/revpipyload.git
synced 2025-11-08 15:13:52 +01:00
Fix error in piCtory checker
Removed postinst message for upgrade from 0.6.5
This commit is contained in:
13
debian/postinst
vendored
13
debian/postinst
vendored
@@ -6,19 +6,6 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
cat <<-END
|
||||
|
||||
======= Important RevPiPyLoad post-installation note =======
|
||||
|
||||
If you upgrade from pre 0.6.5 Version,you have to migrate to the
|
||||
new config file format!!!
|
||||
/etc/revpipyload/revpipyload.conf
|
||||
|
||||
READ:
|
||||
DE: https://revpimodio.org/revpipyplc-auf-065/
|
||||
EN: https://revpimodio.org/en/revpipyplc-to-065/
|
||||
|
||||
END
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -614,7 +614,7 @@ class RevPiPyLoad():
|
||||
return False
|
||||
self.pictorymtime = mtime
|
||||
|
||||
# TODO: Nur "Devices" list vergleich
|
||||
# TODO: Nur "Devices" list vergleich da HASH immer neu wegen timestmap
|
||||
|
||||
with open(proginit.pargs.configrsc, "rb") as fh:
|
||||
file_hash = md5(fh.read()).digest()
|
||||
@@ -755,6 +755,7 @@ class RevPiPyLoad():
|
||||
file_changed = True
|
||||
|
||||
# Alle Verbindungen von ProcImgServer trennen
|
||||
if self.plcslave and self.th_plcslave is not None:
|
||||
self.th_plcslave.disconnect_all()
|
||||
|
||||
proginit.logger.warning("piCtory configuration was changed")
|
||||
@@ -762,6 +763,7 @@ class RevPiPyLoad():
|
||||
if self.check_replace_ios_changed():
|
||||
if not file_changed:
|
||||
# Verbindungen von ProcImgServer trennen mit replace_ios
|
||||
if self.plcslave and self.th_plcslave is not None:
|
||||
self.th_plcslave.disconnect_replace_ios()
|
||||
|
||||
file_changed = True
|
||||
|
||||
Reference in New Issue
Block a user