mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/B-em: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8fe46b7f8d
commit
edb8539830
1 changed files with 9 additions and 2 deletions
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=B-em
|
||||
VERSION=${VERSION:-608eb15}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
COMMIT=${COMMIT:-608eb15ad89f8003736f2b2dbc310759e9ab72c0}
|
||||
|
@ -68,8 +68,15 @@ mkdir -p $TMP $PKG $OUTPUT
|
|||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
|
||||
if [ -f "$CWD/B-em-$COMMIT.tar.gz" ]; then
|
||||
mv $CWD/B-em-$COMMIT.tar.gz $CWD/b-em-$COMMIT.tar.gz
|
||||
fi
|
||||
tar xvfz $CWD/b-em-$COMMIT.tar.gz
|
||||
mv b-em-$COMMIT $PRGNAM-$VERSION
|
||||
if [ -d "B-em-$COMMIT" ]; then
|
||||
mv B-em-$COMMIT $PRGNAM-$VERSION
|
||||
else
|
||||
mv b-em-$COMMIT $PRGNAM-$VERSION
|
||||
fi
|
||||
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
|
Loading…
Reference in a new issue