minor changes

This commit is contained in:
Solomon Laing 2021-08-29 14:21:42 +09:30
parent 20d25a0be2
commit 1b82133c07
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,6 @@
#!/bin/sh #!/bin/sh
# configure extra system things like lightdm, etc. # configure extra system things like lightdm, etc.
# also set shell to fish
# set up correct xmonad.sh e.g. if on laptop, set a copy that only has one xmobar?

View File

@ -48,7 +48,7 @@ total_failures=$((${#failures[@]}))
if [ $total_failures -gt 0 ]; then if [ $total_failures -gt 0 ]; then
echo "Some of the programs failed to install..." echo "Some of the programs failed to install..."
echo "$failures" echo -e "$failures"
echo "Please manually rectify this and then rerun this setup with: ./setup defaults" echo "Please manually rectify this and then rerun this setup with: ./setup defaults"
exit 1 exit 1
else else

View File

@ -54,7 +54,7 @@ for dependency in $dependencies
do do
clear clear
sudo -v sudo -v
if ! yay -Qi $dependency &> /dev/null; then if ! yay -Qi $dependency &> /dev/null; then #TODO: check whether this works as I'm expecting...
echo "Installing $dependency and it's dependencies..." echo "Installing $dependency and it's dependencies..."
yay -S --noconfirm $dependency yay -S --noconfirm $dependency
fi fi
@ -85,7 +85,7 @@ total_failures=$((${#failures[@]}))
if [ $total_failures -gt 0 ]; then if [ $total_failures -gt 0 ]; then
echo "Some of the programs failed to install..." echo "Some of the programs failed to install..."
echo "$failures" echo -e "$failures"
echo "Please manually rectify this and then rerun this setup with: ./setup deps" echo "Please manually rectify this and then rerun this setup with: ./setup deps"
exit 1 exit 1
else else

View File

@ -48,7 +48,7 @@ total_failures=$((${#failures[@]}))
if [ $total_failures -gt 0 ]; then if [ $total_failures -gt 0 ]; then
echo "Some of the programs failed to install..." echo "Some of the programs failed to install..."
echo "$failures" echo -e "$failures"
echo "Please manually rectify this and then rerun this setup with: ./setup misc" echo "Please manually rectify this and then rerun this setup with: ./setup misc"
exit 1 exit 1
else else