summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-09-28 17:11:18 +0200
committerMichael Neves2012-09-28 17:11:18 +0200
commitf37ecb3d37fc9665ba04caaae7684d54c61a9250 (patch)
tree9f980cbafd27c93de72120a45f81455cbeaf9049
parentcopy required files (diff)
parentfix lalala (diff)
downloadtm-scripts-f37ecb3d37fc9665ba04caaae7684d54c61a9250.tar.gz
tm-scripts-f37ecb3d37fc9665ba04caaae7684d54c61a9250.tar.xz
tm-scripts-f37ecb3d37fc9665ba04caaae7684d54c61a9250.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
-rw-r--r--remote/tools/plymouth/build.plymouth17
1 files changed, 11 insertions, 6 deletions
diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth
index 21ef5761..c726b4a6 100644
--- a/remote/tools/plymouth/build.plymouth
+++ b/remote/tools/plymouth/build.plymouth
@@ -1,26 +1,31 @@
#!/bin/bash
install_dependencies() {
- apt-get install --force-yes $deps
+ apt-get install --force-yes $DEPS
}
-fetch_sources() {
- if [ ! -e .fetched_sources ]; then
+fetch_source() {
+ if [ ! -e .fetched_source ]; then
# download and extract tarball
- wget -q $url
- TARBALL=`basename $url`
+ [ ! -d src ] && mkdir src
+ cd src
+ wget -q $URL
+ TARBALL=`basename $URL`
tar xvf $TARBALL
rm $TARBALL
- touch .fetched_sources
+ cd -
+ touch .fetched_source
fi
}
build() {
if [ ! -e .built ]; then
+ cd src/$VERSION
./configure --enable-systemd-integration
make
[ ! -d $INIT_DIR ] && mkdir $INIT_DIR
DESTDIR="$INIT_DIR" make install
+ cd -
touch .built
fi
}