Better organized code
This commit is contained in:
parent
a751f18f66
commit
f4d4dba4b3
2 changed files with 24 additions and 18 deletions
|
@ -116,24 +116,30 @@ install_flat() {
|
|||
$FLH_INSTALL https://sober.vinegarhq.org/sober.flatpakref
|
||||
}
|
||||
|
||||
# Bloat Removal
|
||||
if [ "$DESKTOP_SESSION" == "gnome" ]; then
|
||||
# Entry Point
|
||||
main() {
|
||||
## Desktop Specific Operations ##
|
||||
if [ "$DESKTOP_SESSION" == "gnome" ]; then
|
||||
gnome
|
||||
fi
|
||||
fi
|
||||
|
||||
# Installing Software
|
||||
install_yay
|
||||
install_pacman
|
||||
install_aur
|
||||
install_flat
|
||||
# Installing Software
|
||||
install_yay
|
||||
install_pacman
|
||||
install_aur
|
||||
install_flat
|
||||
|
||||
# Enabling Daemons #
|
||||
sudo systemctl enable --now libvirtd
|
||||
sudo systemctl enable --now docker
|
||||
# Enabling Daemons #
|
||||
sudo systemctl enable --now libvirtd
|
||||
sudo systemctl enable --now docker
|
||||
|
||||
# Cleaning Up #
|
||||
sudo usermod -aG docker $USER
|
||||
sudo usermod -aG libvirt $USER
|
||||
# Applying Permissions #
|
||||
sudo usermod -aG docker $USER
|
||||
sudo usermod -aG libvirt $USER
|
||||
|
||||
# Finish Statement #
|
||||
echo "Installation Done! Have Fun!"
|
||||
# Finish Statement #
|
||||
echo "Installation Done! Have Fun!"
|
||||
}
|
||||
|
||||
# System Process
|
||||
main
|
||||
|
|
|
@ -8,5 +8,5 @@ To use it, you can run any of the following:
|
|||
|
||||
### Arch Linux
|
||||
```bash
|
||||
curl path/to/arch.sh | sh
|
||||
curl http://server.lan:3003/OBJNULL/LinuxScripts/raw/branch/main/Installation/arch.sh | sh
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue