initial commit
This commit is contained in:
14
bin/nomarchy-reinstall-pkgs
Executable file
14
bin/nomarchy-reinstall-pkgs
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Reinstall all default Nomarchy packages from the stable channel and downgrade any packages that are too new.
|
||||
|
||||
# Set the package repository to the stable mirrors
|
||||
nomarchy-refresh-pacman
|
||||
|
||||
# Downgrade any packages to the stable setup
|
||||
sudo pacman -Suu --noconfirm
|
||||
|
||||
# Ensure all packages are installed
|
||||
mapfile -t packages < <(grep -v '^#' "$OMARCHY_PATH/install/nomarchy-base.packages" | grep -v '^$')
|
||||
sudo pacman -Syu --noconfirm --needed "${packages[@]}"
|
||||
Reference in New Issue
Block a user