From 8ee12e86aa46c29f9394c7116e2d08bdfcf4326c Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Fri, 27 May 2016 11:21:29 +0200
Subject: [PATCH] Fixing #454 DEB_PACKAGING must be true even with non-UI
 packaging

---
 ci/travis/debian/DEBIAN/postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ci/travis/debian/DEBIAN/postinst b/ci/travis/debian/DEBIAN/postinst
index c2140b609..5335b5fa1 100755
--- a/ci/travis/debian/DEBIAN/postinst
+++ b/ci/travis/debian/DEBIAN/postinst
@@ -21,6 +21,7 @@ fi
 if [[ -d $DUN_ROOT/node ]]; then
   chmod 755 $DUN_ROOT/sources/bin/ucoind
   sed -i "s/usr\/bin\/env node/opt\/duniter\/node\/bin\/node/g" $DUN_ROOT/sources/bin/ucoind
+  sed -i "s/DEB_PACKAGING=.*/DEB_PACKAGING=true/g" $DUN_ROOT/sources/duniter.sh
 fi
 # Else will execute with environment node
 
-- 
GitLab