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
|
case "$1" in
|
||||||
configure)
|
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
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -614,7 +614,7 @@ class RevPiPyLoad():
|
|||||||
return False
|
return False
|
||||||
self.pictorymtime = mtime
|
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:
|
with open(proginit.pargs.configrsc, "rb") as fh:
|
||||||
file_hash = md5(fh.read()).digest()
|
file_hash = md5(fh.read()).digest()
|
||||||
@@ -755,14 +755,16 @@ class RevPiPyLoad():
|
|||||||
file_changed = True
|
file_changed = True
|
||||||
|
|
||||||
# Alle Verbindungen von ProcImgServer trennen
|
# Alle Verbindungen von ProcImgServer trennen
|
||||||
self.th_plcslave.disconnect_all()
|
if self.plcslave and self.th_plcslave is not None:
|
||||||
|
self.th_plcslave.disconnect_all()
|
||||||
|
|
||||||
proginit.logger.warning("piCtory configuration was changed")
|
proginit.logger.warning("piCtory configuration was changed")
|
||||||
|
|
||||||
if self.check_replace_ios_changed():
|
if self.check_replace_ios_changed():
|
||||||
if not file_changed:
|
if not file_changed:
|
||||||
# Verbindungen von ProcImgServer trennen mit replace_ios
|
# Verbindungen von ProcImgServer trennen mit replace_ios
|
||||||
self.th_plcslave.disconnect_replace_ios()
|
if self.plcslave and self.th_plcslave is not None:
|
||||||
|
self.th_plcslave.disconnect_replace_ios()
|
||||||
|
|
||||||
file_changed = True
|
file_changed = True
|
||||||
proginit.logger.warning("replace ios file was changed")
|
proginit.logger.warning("replace ios file was changed")
|
||||||
|
|||||||
Reference in New Issue
Block a user