More update.sh improvements

This commit is contained in:
Anthony Cicchetti 2023-07-21 09:53:00 -04:00
parent fd17701f00
commit 1ae0876f24
3 changed files with 8 additions and 8 deletions

6
flake.lock generated
View file

@ -8,11 +8,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1689890200, "lastModified": 1689941025,
"narHash": "sha256-RhG3twdQjaNFgvUxdIJ+9ynu7oeEs/h65fxDvcmTuSQ=", "narHash": "sha256-m2EC7dvTnxK0pTUsD+phMvPp2O8DmW+bGUL0UefIQIA=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "f9f4dd3c1a4f767b11abe092b1ecdcf27844a2bd", "rev": "ff78ecd88b5e8c15b274c71560f68ab431eeb94f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -325,11 +325,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1689679375, "lastModified": 1689850295,
"narHash": "sha256-LHUC52WvyVDi9PwyL1QCpaxYWBqp4ir4iL6zgOkmcb8=", "narHash": "sha256-fUYf6WdQlhd2H+3aR8jST5dhFH1d0eE22aes8fNIfyk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "684c17c429c42515bafb3ad775d2a710947f3d67", "rev": "5df4d78d54f7a34e9ea1f84a22b4fd9baebc68d0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -27,8 +27,8 @@ while getopts dh opt; do
do_home_manager do_home_manager
;; ;;
*) *)
exit 1 "Ignoring unknown option. Please only pass -h or -d"
;; ;;
esac esac
done done
shift "$((OPTIND - 1))" # Discard the options and sentinel -- shift "$((OPTIND - 1))"