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
This commit is contained in:
parent
7579b54348
commit
9c12a662ea
@ -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)
|
||||
- Can load relations specified in command line (Rev 210)
|
||||
- Using fakeroot instead of su in make debian (Rev 214)
|
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user