Update
This commit is contained in:
parent
6523c554cf
commit
cb23c6cad9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user