This commit is contained in:
araison 2024-01-21 18:43:30 +01:00
parent 6523c554cf
commit cb23c6cad9

View File

@ -1,3 +1,6 @@
#!/bin/bash
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*)
@ -27,23 +30,23 @@ then
fi
echo "Installing $pkg_manager packages"
bash realpath program/package_manager/$pkg_manager/packages.sh
if [ -f realpath program/package_manager/$pkg_manager/others ]
echo "Installing ${pkg_manager} packages"
bash program/package_manager/${pkg_manager}/packages.sh
if [ -f program/package_manager/${pkg_manager}/others ]
then
for file in $(program/package_manager/$pkg_manager/others/*.sh)
for file in program/package_manager/${pkg_manager}/others/*.sh
do
bash ${file}
done
fi
echo "Installing side packages"
for file in $(realpath others/**/*.sh)
for file in others/**/*.sh
do
bash ${file}
done
echo "Installing dotfiles"
for file in $(realpath dotfiles/**/*.sh)
for file in dotfiles/**/*.sh
do
bash ${file}
done