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