summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-07 18:07:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-07 18:07:54 (GMT)
commit6bcc5322c2a04bac54a5ece548478f93cae246f0 (patch)
tree1d16d56402840bac5b0d1e651ad075c0f837b0df /abs/core
parent181eafab8fbe39fa6c76f4e6a375e268e7a136a8 (diff)
downloadlinhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.zip
linhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.tar.gz
linhes_pkgbuild-6bcc5322c2a04bac54a5ece548478f93cae246f0.tar.bz2
runit-scripts: fix stat_runit so that it works when splash is not used or installed.
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD5
-rwxr-xr-xabs/core/runit-scripts/fbsplash-runit.sh8
2 files changed, 11 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 46c55b6..174bf69 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=2
+pkgrel=4
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
@@ -29,4 +29,5 @@ build() {
rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
}
-md5sums=('46f6261239a06a192a08d10663df0273')
+md5sums=('701fc39d1578b56e7702b1393d8a2b2e')
+md5sums=('fdc7aee7ce323f1e55060e2da54a9534')
diff --git a/abs/core/runit-scripts/fbsplash-runit.sh b/abs/core/runit-scripts/fbsplash-runit.sh
index fb132b8..90430dd 100755
--- a/abs/core/runit-scripts/fbsplash-runit.sh
+++ b/abs/core/runit-scripts/fbsplash-runit.sh
@@ -27,4 +27,12 @@ then
var_save STEP_NR CURRENT_PROGRESS
}
+else
+ stat_runit(){
+
+ printf "${C_OTHER}${PREFIX_REG} ${C_MAIN}${1}${C_CLEAR} "
+ printf "${SAVE_POSITION}"
+ deltext
+ printf " ${C_OTHER}[${C_BUSY}BKGD${C_OTHER}]${C_CLEAR} "
+ }
fi