mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-02-05 00:25:53 +00:00
updated
This commit is contained in:
@@ -51,6 +51,14 @@ msg2() {
|
||||
echo -e "${color_blue} -->${color_reset} $1"
|
||||
}
|
||||
|
||||
msg3() {
|
||||
echo -e "$1"
|
||||
}
|
||||
|
||||
msg4() {
|
||||
echo -e " $1"
|
||||
}
|
||||
|
||||
rmdir_silent() {
|
||||
command rmdir "$@" 2> /dev/null
|
||||
}
|
||||
|
||||
8
scratch
8
scratch
@@ -21,7 +21,7 @@ pushtoport() {
|
||||
listinstalled() {
|
||||
for installed in $(ls $INDEX_DIR); do
|
||||
getinstalledname $installed
|
||||
msg $installedname
|
||||
msg3 $installedname
|
||||
done
|
||||
}
|
||||
|
||||
@@ -83,9 +83,11 @@ searchpkg() {
|
||||
if [ ! -z "$name" ] && [ ! -z "$version" ] && [ ! -z "$release" ]; then
|
||||
portname=$(basename $port)
|
||||
if [ -d $INDEX_DIR/$name ]; then
|
||||
msg "($portname) ${color_green}$name${color_reset} $version-$release $description"
|
||||
msg3 "($portname) ${color_green}$name${color_reset} $version-$release"
|
||||
msg4 "$description"
|
||||
else
|
||||
msg "($portname) $name $version-$release $description"
|
||||
msg3 "($portname) $name $version-$release"
|
||||
msg4 "$description"
|
||||
fi
|
||||
unset description
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user