initial commit
This commit is contained in:
14
bin/nomarchy-reinstall
Executable file
14
bin/nomarchy-reinstall
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Attempt to reinstall all default Nomarchy packages and reset all the default configs.
|
||||
|
||||
echo -e "This will reinstall all the default Nomarchy packages and reset all default configs.\nWarning: All user changes to configs will be lost.\n"
|
||||
|
||||
if gum confirm "Are you sure you want to reinstall and lose all config changes?"; then
|
||||
nomarchy-reinstall-git
|
||||
nomarchy-reinstall-pkgs
|
||||
nomarchy-reinstall-configs
|
||||
|
||||
gum confirm "System has been reinstalled. Reboot?" && nomarchy-system-reboot
|
||||
fi
|
||||
Reference in New Issue
Block a user