use sudo to delete last package

This commit is contained in:
matthias.ringwald 2009-10-29 19:52:37 +00:00
parent c813ee3234
commit 5c14571387
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ REVISION=`svn info | grep Revision | cut -d " " -f 2`
ARCHIVE=$PACKAGE-$VERSION-$REVISION.deb
echo Creating $PACKAGE package version $VERSION revision $REVISION
rm -rf $PACKAGE
sudo rm -rf $PACKAGE
mkdir -p $PACKAGE/DEBIAN
cp control $PACKAGE/DEBIAN

View File

@ -7,7 +7,7 @@ REVISION=`svn info | grep Revision | cut -d " " -f 2`
ARCHIVE=$PACKAGE-$VERSION-$REVISION.deb
echo Creating $PACKAGE package version $VERSION revision $REVISION
rm -rf $PACKAGE
sudo rm -rf $PACKAGE
mkdir -p $PACKAGE/DEBIAN
cp control $PACKAGE/DEBIAN

View File

@ -7,7 +7,7 @@ REVISION=`svn info | grep Revision | cut -d " " -f 2`
ARCHIVE=$PACKAGE-$VERSION-$REVISION.deb
echo Creating $PACKAGE package version $VERSION revision $REVISION
rm -rf $PACKAGE
sudo rm -rf $PACKAGE
mkdir -p $PACKAGE/DEBIAN
cp resources/control $PACKAGE/DEBIAN