summaryrefslogtreecommitdiffstats
path: root/remote/tools
diff options
context:
space:
mode:
Diffstat (limited to 'remote/tools')
-rw-r--r--remote/tools/plymouth/build.plymouth16
1 files changed, 10 insertions, 6 deletions
diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth
index 21ef5761..f654a5ee 100644
--- a/remote/tools/plymouth/build.plymouth
+++ b/remote/tools/plymouth/build.plymouth
@@ -1,22 +1,26 @@
#!/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
./configure --enable-systemd-integration
make
[ ! -d $INIT_DIR ] && mkdir $INIT_DIR