Univention Bugzilla – Bug 46460
prevent unnecessary error message upgrading to 4.3
Last modified: 2018-06-04 08:29:43 CEST
+++ This bug was initially created as a clone of Bug #45968 +++ When /etc/postfix/dynamicmaps.cf doesn't exist, a unnecessary error message is shown: -------------------------------------------------------------------- Do you want to continue [Y/n]? Checking for space on /var/cache/apt/archives: OK Checking for space on /boot: OK Checking for space on /: OK Checking for package status: OK Checking LDAP schema: OK grep: /etc/postfix/dynamicmaps.cf: Datei oder Verzeichnis nicht gefunden Starting update process, this may take a while. Check /var/log/univention/updater.log for more information. -------------------------------------------------------------------- Check for the files existence before grep'ing in it.
[4.3-0 1d2c3e9536] Bug #46460: prevent error message if file doesn't exist univention-updater (13.0.1-27)
As discussed "if [ -f FILENAME ] ; then" whould be much nicer since "-a" is a bashism and not compatible e.g. with /bin/dash. But in bash "-a" == "-f" → ok for now, since the shebang is set to /bin/bash. OK: code change OK: functional change
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".