mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Ports: Make the build step messages use ellipsis rather than excl. point
This stops the port build system from yelling at the user. This commit also adds a "success" message after the "Adding to database" message.
This commit is contained in:
parent
0a18425cbb
commit
06a6b68690
1 changed files with 12 additions and 11 deletions
|
@ -386,7 +386,7 @@ addtodb() {
|
||||||
touch "$packagesdb"
|
touch "$packagesdb"
|
||||||
fi
|
fi
|
||||||
if ! grep -E "^(auto|manual) $port $version" "$packagesdb" > /dev/null; then
|
if ! grep -E "^(auto|manual) $port $version" "$packagesdb" > /dev/null; then
|
||||||
echo "Adding $port $version to database of installed ports!"
|
echo "Adding $port $version to database of installed ports..."
|
||||||
if [ "${1:-}" = "--auto" ]; then
|
if [ "${1:-}" = "--auto" ]; then
|
||||||
echo "auto $port $version" >> "$packagesdb"
|
echo "auto $port $version" >> "$packagesdb"
|
||||||
else
|
else
|
||||||
|
@ -395,6 +395,7 @@ addtodb() {
|
||||||
echo "dependency $port$dependlist" >> "$packagesdb"
|
echo "dependency $port$dependlist" >> "$packagesdb"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
echo "Successfully installed $port $version."
|
||||||
else
|
else
|
||||||
>&2 echo "Warning: $port $version already installed. Not adding to database of installed ports!"
|
>&2 echo "Warning: $port $version already installed. Not adding to database of installed ports!"
|
||||||
fi
|
fi
|
||||||
|
@ -433,22 +434,22 @@ uninstall() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
do_installdepends() {
|
do_installdepends() {
|
||||||
echo "Installing dependencies of $port!"
|
echo "Installing dependencies of $port..."
|
||||||
installdepends
|
installdepends
|
||||||
}
|
}
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
echo "Fetching $port!"
|
echo "Fetching $port..."
|
||||||
fetch
|
fetch
|
||||||
}
|
}
|
||||||
do_patch() {
|
do_patch() {
|
||||||
echo "Patching $port!"
|
echo "Patching $port..."
|
||||||
pre_patch
|
pre_patch
|
||||||
patch_internal
|
patch_internal
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
ensure_build
|
ensure_build
|
||||||
if [ "$useconfigure" = "true" ]; then
|
if [ "$useconfigure" = "true" ]; then
|
||||||
echo "Configuring $port!"
|
echo "Configuring $port..."
|
||||||
pre_configure
|
pre_configure
|
||||||
configure
|
configure
|
||||||
post_configure
|
post_configure
|
||||||
|
@ -458,12 +459,12 @@ do_configure() {
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
ensure_build
|
ensure_build
|
||||||
echo "Building $port!"
|
echo "Building $port..."
|
||||||
build
|
build
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
ensure_build
|
ensure_build
|
||||||
echo "Installing $port!"
|
echo "Installing $port..."
|
||||||
install
|
install
|
||||||
install_main_launcher
|
install_main_launcher
|
||||||
install_main_icon
|
install_main_icon
|
||||||
|
@ -471,19 +472,19 @@ do_install() {
|
||||||
addtodb "${1:-}"
|
addtodb "${1:-}"
|
||||||
}
|
}
|
||||||
do_clean() {
|
do_clean() {
|
||||||
echo "Cleaning workdir and .out files in $port!"
|
echo "Cleaning workdir and .out files in $port..."
|
||||||
clean
|
clean
|
||||||
}
|
}
|
||||||
do_clean_dist() {
|
do_clean_dist() {
|
||||||
echo "Cleaning dist in $port!"
|
echo "Cleaning dist in $port..."
|
||||||
clean_dist
|
clean_dist
|
||||||
}
|
}
|
||||||
do_clean_all() {
|
do_clean_all() {
|
||||||
echo "Cleaning all in $port!"
|
echo "Cleaning all in $port..."
|
||||||
clean_all
|
clean_all
|
||||||
}
|
}
|
||||||
do_uninstall() {
|
do_uninstall() {
|
||||||
echo "Uninstalling $port!"
|
echo "Uninstalling $port..."
|
||||||
uninstall
|
uninstall
|
||||||
}
|
}
|
||||||
do_showproperty() {
|
do_showproperty() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue