adds sbin and upgrading tools
This commit is contained in:
parent
847c26e8df
commit
6f9c9bb1a9
5 changed files with 35 additions and 6 deletions
|
@ -27,12 +27,15 @@ src_compile() {
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
if use tools; then
|
if use tools; then
|
||||||
dobin bin/cave-rdep
|
for b in bin/*
|
||||||
dobin bin/cave-stat
|
do
|
||||||
dobin bin/till
|
dobin "${b}"
|
||||||
dobin bin/compile-kernel
|
done
|
||||||
dobin bin/force-install
|
|
||||||
dobin bin/screenit
|
for sb in sbin/*
|
||||||
|
do
|
||||||
|
dosbin "${sb}"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
insopts -m755
|
insopts -m755
|
||||||
|
|
3
sbin/sc-0-sync
Executable file
3
sbin/sc-0-sync
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/zsh
|
||||||
|
|
||||||
|
cave sync
|
3
sbin/sc-1-resolve
Executable file
3
sbin/sc-1-resolve
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/zsh
|
||||||
|
|
||||||
|
cave resolve --complete --slots installed-or-best --recommendations display world $@
|
15
sbin/sc-2-cleanup
Executable file
15
sbin/sc-2-cleanup
Executable 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
5
sbin/sc-3-regen
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue