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"
},
"locked": {
"lastModified": 1689890200,
"narHash": "sha256-RhG3twdQjaNFgvUxdIJ+9ynu7oeEs/h65fxDvcmTuSQ=",
"lastModified": 1689941025,
"narHash": "sha256-m2EC7dvTnxK0pTUsD+phMvPp2O8DmW+bGUL0UefIQIA=",
"owner": "cachix",
"repo": "devenv",
"rev": "f9f4dd3c1a4f767b11abe092b1ecdcf27844a2bd",
"rev": "ff78ecd88b5e8c15b274c71560f68ab431eeb94f",
"type": "github"
},
"original": {

View file

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

View file

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