2023-04-22 08:19:45 -07:00
|
|
|
#!/bin/sh
|
|
|
|
echo "------------- CORE PACKAGE INSTALLATION ------------"
|
|
|
|
echo UPDATING PACKAGE REGISTRY....
|
|
|
|
. /opt/lib/verbose.lib
|
|
|
|
silence $UPDATE_PKGS
|
|
|
|
echo .... DONE!
|
|
|
|
if [ -f ./packages/$LINUX_DISTRO ]; then
|
|
|
|
echo INSTALLING $LINUX_DISTRO DISTRO SPECIFIC PACKAGES
|
|
|
|
echo ....
|
2024-01-14 14:57:09 -08:00
|
|
|
while IFS="" read -r pkg || [ -n "$pkg" ]; do
|
|
|
|
$INSTALL_PKGS $pkg
|
|
|
|
done < ./packages/$LINUX_DISTRO
|
2023-04-22 08:19:45 -07:00
|
|
|
echo "DONE INSTALLING $LINUX_DISTRO SPECIFIC PACKAGES"
|
|
|
|
fi
|
|
|
|
echo INSTALLING COMMON PACKAGES FOR ANY DISTRO
|
|
|
|
quiet this is a test of quiet
|
|
|
|
_pkgs=$(cat ./packages/common)
|
|
|
|
echo $_pkgs
|
|
|
|
echo ....
|
|
|
|
silence $INSTALL_PKGS $_pkgs
|
|
|
|
echo "DONE INSTALLING COMMON PACKAGES"
|
|
|
|
echo "done ------------- CORE PACKAGE INSTALLATION ------------"
|