updated re: archival of inks-scripts
This commit is contained in:
parent
b2f9731e3b
commit
320f2c3f50
7
arch/_old/README.md
Normal file
7
arch/_old/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# OLD
|
||||||
|
|
||||||
|
The graveyard for old parts of this project.
|
||||||
|
|
||||||
|
Entries:
|
||||||
|
* Sat Feb 11 03:26:07 PM ACDT 2023, my scripts are now just in my config in
|
||||||
|
`$HOME/.local/bin`.
|
||||||
85
arch/setup
85
arch/setup
@ -41,14 +41,14 @@ function update_system {
|
|||||||
echo "The system needs to be updated before this installation can happen. The upgrades will be applied without any user oversight which may be dangerous for out of date systems."
|
echo "The system needs to be updated before this installation can happen. The upgrades will be applied without any user oversight which may be dangerous for out of date systems."
|
||||||
read -r -p "Are you sure you want to continue? [Y/n] " input
|
read -r -p "Are you sure you want to continue? [Y/n] " input
|
||||||
case $input in
|
case $input in
|
||||||
[nN][oO] | [nN])
|
[nN][oO] | [nN])
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Make sure everything is up to date
|
# Make sure everything is up to date
|
||||||
echo "Making sure everything is up to date..."
|
echo "Making sure everything is up to date..."
|
||||||
yay -Syyu --noconfirm
|
yay -Syyu --noconfirm
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,15 +79,6 @@ function install_misc {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# install my scripts
|
|
||||||
function install_scripts {
|
|
||||||
cd $working_dir
|
|
||||||
./install-scripts
|
|
||||||
if [ $? -eq 1 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function install_dmenu {
|
function install_dmenu {
|
||||||
cd $working_dir
|
cd $working_dir
|
||||||
./install-dmenu-inkletblot
|
./install-dmenu-inkletblot
|
||||||
@ -115,20 +106,19 @@ function configure_system {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function help {
|
function help {
|
||||||
echo "Usage is:"
|
echo "Usage is:"
|
||||||
echo " setup <option> -- to start system setup from option"
|
echo " setup <option> -- to start system setup from option"
|
||||||
echo " setup <option> only -- to only setup the specified option"
|
echo " setup <option> only -- to only setup the specified option"
|
||||||
echo "Options (in order of execution):"
|
echo "Options (in order of execution):"
|
||||||
echo " yay : Install yay AUR helper"
|
echo " yay : Install yay AUR helper"
|
||||||
echo " deps : Install the dependencies for my scripts and window manager"
|
echo " deps : Install the dependencies for my scripts and window manager"
|
||||||
echo " defaults : Install my chosen default programs"
|
echo " defaults : Install my chosen default programs"
|
||||||
echo " misc : Install my collection of misc - nice to have - programs"
|
echo " misc : Install my collection of misc - nice to have - programs"
|
||||||
echo " scripts : Install my scirpts"
|
echo " dmenu : Install my customised version of dmenu"
|
||||||
echo " dmenu : Install my customised version of dmenu"
|
echo " dotfiles : Install my dotfiles to the system"
|
||||||
echo " dotfiles : Install my dotfiles to the system"
|
echo " configure : configure certain system files - BETA"
|
||||||
echo " configure : configure certain system files - BETA"
|
echo ""
|
||||||
echo ""
|
echo "Note: it is expected that the initial run of this script lets each stage complete sucessfully."
|
||||||
echo "Note: it is expected that the initial run of this script lets each stage complete sucessfully."
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "help" ]; then
|
if [ "$1" = "help" ]; then
|
||||||
@ -146,11 +136,10 @@ case $1 in
|
|||||||
install_dependencies
|
install_dependencies
|
||||||
install_defaults
|
install_defaults
|
||||||
install_misc
|
install_misc
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
install_dmenu
|
||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
;;
|
;;
|
||||||
yay)
|
yay)
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
install_yay
|
install_yay
|
||||||
@ -159,12 +148,11 @@ case $1 in
|
|||||||
install_dependencies
|
install_dependencies
|
||||||
install_defaults
|
install_defaults
|
||||||
install_misc
|
install_misc
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
install_dmenu
|
||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
deps)
|
deps)
|
||||||
update_system
|
update_system
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
@ -173,12 +161,11 @@ case $1 in
|
|||||||
install_dependencies
|
install_dependencies
|
||||||
install_defaults
|
install_defaults
|
||||||
install_misc
|
install_misc
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
install_dmenu
|
||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
defaults)
|
defaults)
|
||||||
update_system
|
update_system
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
@ -186,34 +173,22 @@ case $1 in
|
|||||||
else
|
else
|
||||||
install_defaults
|
install_defaults
|
||||||
install_misc
|
install_misc
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
install_dmenu
|
||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
misc)
|
misc)
|
||||||
update_system
|
update_system
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
install_misc
|
install_misc
|
||||||
else
|
else
|
||||||
install_misc
|
install_misc
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
install_dmenu
|
||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
scripts)
|
|
||||||
if [ "$2" = "only" ]; then
|
|
||||||
install_scripts
|
|
||||||
else
|
|
||||||
install_scripts
|
|
||||||
install_dmenu
|
|
||||||
install_config
|
|
||||||
configure_system
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
dmenu)
|
dmenu)
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
install_dmenu
|
install_dmenu
|
||||||
@ -222,7 +197,7 @@ case $1 in
|
|||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
dotfiles)
|
dotfiles)
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
install_config
|
install_config
|
||||||
@ -230,19 +205,19 @@ case $1 in
|
|||||||
install_config
|
install_config
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
configure)
|
configure)
|
||||||
if [ "$2" = "only" ]; then
|
if [ "$2" = "only" ]; then
|
||||||
configure_system
|
configure_system
|
||||||
else
|
else
|
||||||
configure_system
|
configure_system
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid input..."
|
echo "Invalid input..."
|
||||||
help
|
help
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user