diff options
author | Fredy <aluque@soleta.eu> | 2018-06-14 11:10:26 +0200 |
---|---|---|
committer | Fredy <aluque@soleta.eu> | 2018-06-14 11:10:26 +0200 |
commit | 40ad81a88385e4993fb5870f284293b773561f88 (patch) | |
tree | 01a1e38ae6938406b891faedaa2a600ae06c5351 /installer/pkg-generator/DEBIAN/postinst | |
parent | 6b84365868ca16c05abcbba06b69e60f25b8265d (diff) |
#837 Debian package update script
Diffstat (limited to 'installer/pkg-generator/DEBIAN/postinst')
-rwxr-xr-x | installer/pkg-generator/DEBIAN/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/pkg-generator/DEBIAN/postinst b/installer/pkg-generator/DEBIAN/postinst index 03b747b7..19b30e76 100755 --- a/installer/pkg-generator/DEBIAN/postinst +++ b/installer/pkg-generator/DEBIAN/postinst @@ -1265,8 +1265,8 @@ if [ "$RET" = "true" ]; then exit 0 fi -FILE=/opt/opengnsys/doc/VERSION.txt -if [ -f $FILE ]; then +VFILE=/opt/opengnsys/doc/VERSION.txt +if [ -f $VFILE ]; then echo "File $FILE 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" |