summaryrefslogtreecommitdiffstats
path: root/installer/pkg-generator/DEBIAN/postinst
diff options
context:
space:
mode:
authorFredy <aluque@soleta.eu>2018-06-14 11:37:23 +0200
committerFredy <aluque@soleta.eu>2018-06-14 11:37:23 +0200
commit6598aa9c1a70492c718bbb9cfb86c6d79fc259de (patch)
tree92e73ef9bdd296a0fd7bfb9d569f3d11c931b7ef /installer/pkg-generator/DEBIAN/postinst
parent1008d8eb29139a612ae98524acedad6af8599a11 (diff)
#837 devel update script
Diffstat (limited to 'installer/pkg-generator/DEBIAN/postinst')
-rwxr-xr-xinstaller/pkg-generator/DEBIAN/postinst11
1 files changed, 7 insertions, 4 deletions
diff --git a/installer/pkg-generator/DEBIAN/postinst b/installer/pkg-generator/DEBIAN/postinst
index 35890e0d..e410eaf3 100755
--- a/installer/pkg-generator/DEBIAN/postinst
+++ b/installer/pkg-generator/DEBIAN/postinst
@@ -1259,11 +1259,14 @@ db_go || true
VFILE=/opt/opengnsys/doc/VERSION.txt
if [ -f $VFILE ]; then
- echo "File $VFILE exists. This could mean that OpenGnsys has been previously"
- echo "installed using the installer script. This apt package is not suitable"
- echo "for upgrading and may break the system. If you are shure what you are"
- echo "doing you could delete or rename that file and try again"
+ echo "##############################################################"
+ echo "ERROR: File $VFILE exists. This could mean that OpenGnsys"
+ echo "has been previously installed using the installer script."
+ echo "This apt package is not suitable for upgrading and may break"
+ echo "the system. If you are shure what you are doing you could"
+ echo "delete or rename that file and try again"
echo "Terminating!"
+ echo "##############################################################"
exit 1
fi