fish remove hashing
This commit is contained in:
parent
d8a88625ef
commit
2a881249d0
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1713537308,
|
||||
"narHash": "sha256-XtTSSIB2DA6tOv+l0FhvfDMiyCmhoRbNB+0SeInZkbk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5c24cf2f0a12ad855f444c30b2421d044120c66f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -21,7 +21,6 @@ if fish_is_root_user
|
|||
else
|
||||
set hash1 "$(cat temp/directorylisthashed.txt)"
|
||||
set hash2 "$(cat temp/directorylisthashedprevious.txt)"
|
||||
if [ "$hash1" != "$hash2" ]
|
||||
set rpass "$(logprinti "root password" "p")"
|
||||
if [ "$rpass" = "" ]
|
||||
logprintn "EXIT" "red" "empty root password"
|
||||
|
@ -37,7 +36,6 @@ else
|
|||
sudo nixos-rebuild --flake $(pwd) switch
|
||||
logprintn "INFO" "blue" "nixos-rebuild completed"
|
||||
end
|
||||
end
|
||||
set gitpush "$(logprinti "update git (Y/n)" "c")"
|
||||
if [ "$gitpush" = "" ]
|
||||
set gitpush "y"
|
||||
|
|
Loading…
Reference in New Issue