From 9c12a662eaa164f6be58fd658d20576e5546f411 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Wed, 9 Sep 2009 13:17:38 +0000 Subject: [PATCH] Using fakeroot instead of su in make debian git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@214 014f5005-505e-4b48-8d0a-63407b615a7c --- CHANGELOG | 3 ++- Makefile | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index fcf1444..8c433cc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -93,4 +93,5 @@ - Font is set only on windows (Rev 206) - Improved futile_union_intersection_subtraction in case of A-A, when A is a sub-query (Rev 208) - Improved futile_union_intersection_subtraction, handles when a branch of subtracion has a selection (Rev 209) -- Can load relations specified in command line (Rev 210) \ No newline at end of file +- Can load relations specified in command line (Rev 210) +- Using fakeroot instead of su in make debian (Rev 214) \ No newline at end of file diff --git a/Makefile b/Makefile index 71d1436..63b4ef8 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,8 @@ debian: cp debscript/prerm data/DEBIAN/prerm cp debscript/postinst data/DEBIAN/postinst chmod 0755 data/DEBIAN/prerm data/DEBIAN/postinst - su -c "chown -R root:root data/*; dpkg -b data/ relational.deb; rm -rf data/" + fakeroot -- chown -R root:root data/* + fakeroot -- dpkg -b data/ relational.deb + fakeroot -- rm -rf data/ cp relational.deb relational_`./relational_gui.py -v`+SVN`svn update | cut -d" " -f3 | tr -d "."`.deb rm -f relational.deb