Created Justfile and updated README #12
4
update
4
update
@ -86,11 +86,11 @@ while getopts 'fpagr' OPTIONS; do
|
|||||||
a)
|
a)
|
||||||
update_with_pacman_wrapper; update_with_flatpak ;;
|
update_with_pacman_wrapper; update_with_flatpak ;;
|
||||||
g)
|
g)
|
||||||
[[ $1 = -g ]] && update_with_pacman_wrapper; update_with_flatpak
|
[[ $1 = -g ]] && update_with_pacman_wrapper
|
||||||
after_backup && echo -e "${IGREEN}after-backup complete${NC}" && sleep 3s && shutdown now
|
after_backup && echo -e "${IGREEN}after-backup complete${NC}" && sleep 3s && shutdown now
|
||||||
exit 0;;
|
exit 0;;
|
||||||
r)
|
r)
|
||||||
[[ $1 = -r ]] && update_with_pacman_wrapper; update_with_flatpak
|
[[ $1 = -r ]] && update_with_pacman_wrapper
|
||||||
after_backup && echo -e "${IGREEN}after-backup complete${NC}" && sleep 3s && reboot
|
after_backup && echo -e "${IGREEN}after-backup complete${NC}" && sleep 3s && reboot
|
||||||
exit 0;;
|
exit 0;;
|
||||||
?)
|
?)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user