mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Let user know why we are asking for sudo
This commit is contained in:
@@ -16,9 +16,11 @@ case "$COMMAND" in
|
|||||||
create)
|
create)
|
||||||
DESC="$(omarchy-version)"
|
DESC="$(omarchy-version)"
|
||||||
|
|
||||||
|
echo -e "\e[32mCreate system snapshot\e[0m"
|
||||||
for config in root home; do
|
for config in root home; do
|
||||||
sudo snapper -c "$config" create -c number -d "$DESC"
|
sudo snapper -c "$config" create -c number -d "$DESC"
|
||||||
done
|
done
|
||||||
|
echo
|
||||||
;;
|
;;
|
||||||
restore)
|
restore)
|
||||||
sudo limine-snapper-restore
|
sudo limine-snapper-restore
|
||||||
|
|||||||
Reference in New Issue
Block a user