adds sbin and upgrading tools

This commit is contained in:
Martin 2017-04-21 12:33:56 +02:00
parent 847c26e8df
commit 6f9c9bb1a9
5 changed files with 35 additions and 6 deletions

View file

@ -27,12 +27,15 @@ src_compile() {
src_install() {
if use tools; then
dobin bin/cave-rdep
dobin bin/cave-stat
dobin bin/till
dobin bin/compile-kernel
dobin bin/force-install
dobin bin/screenit
for b in bin/*
do
dobin "${b}"
done
for sb in sbin/*
do
dosbin "${sb}"
done
fi
insopts -m755

3
sbin/sc-0-sync Executable file
View file

@ -0,0 +1,3 @@
#! /bin/zsh
cave sync

3
sbin/sc-1-resolve Executable file
View file

@ -0,0 +1,3 @@
#! /bin/zsh
cave resolve --complete --slots installed-or-best --recommendations display world $@

15
sbin/sc-2-cleanup Executable file
View file

@ -0,0 +1,15 @@
#! /bin/zsh
setopt EXTENDED_GLOB
cave purge --complete
echo -n '>>> Type "yes" to do the above. '
read Q
if [[ $Q == "yes" ]]; then
echo ">>> Aight."
cave purge --complete -x
fi
cave fix-linkage $1

5
sbin/sc-3-regen Executable file
View file

@ -0,0 +1,5 @@
#! /bin/zsh
cave fix-cache
#prelink -amR # this makes Paludis leave old binaries and libraries around because it thinks they've been modified
updatedb