This commit is contained in:
Stephan Raabe
2024-01-25 20:55:32 +01:00
parent 2de300120e
commit a812d7b144
9 changed files with 33 additions and 33 deletions

View File

@@ -54,7 +54,7 @@ _installPackagesPacman() {
toInstall=();
for pkg; do
if [[ $(_isInstalledPacman "${pkg}") == 0 ]]; then
echo "${pkg} is already installed.";
echo ":: ${pkg} is already installed.";
continue;
fi;
toInstall+=("${pkg}");
@@ -88,7 +88,7 @@ _installPackagesYay() {
toInstall=();
for pkg; do
if [[ $(_isInstalledYay "${pkg}") == 0 ]]; then
echo "${pkg} is already installed.";
echo ":: ${pkg} is already installed.";
continue;
fi;
toInstall+=("${pkg}");
@@ -130,20 +130,20 @@ _installSymLink() {
if [ -L "${symlink}" ]; then
rm ${symlink}
ln -s ${linksource} ${linktarget}
echo "Symlink ${linksource} -> ${linktarget} created."
echo ":: Symlink ${linksource} -> ${linktarget} created."
else
if [ -d ${symlink} ]; then
rm -rf ${symlink}/
ln -s ${linksource} ${linktarget}
echo "Symlink for directory ${linksource} -> ${linktarget} created."
echo ":: Symlink for directory ${linksource} -> ${linktarget} created."
else
if [ -f ${symlink} ]; then
rm ${symlink}
ln -s ${linksource} ${linktarget}
echo "Symlink to file ${linksource} -> ${linktarget} created."
echo ":: Symlink to file ${linksource} -> ${linktarget} created."
else
ln -s ${linksource} ${linktarget}
echo "New symlink ${linksource} -> ${linktarget} created."
echo ":: New symlink ${linksource} -> ${linktarget} created."
fi
fi
fi