i may be retarded
This commit is contained in:
parent
7b40e3bf9e
commit
f330d50e86
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_files_to_new_install() {
|
copy_files_to_new_install() {
|
||||||
username="$(grep user ./flake.nix | sed -e 's/.*\(.*\).*/\1/')"
|
username="$(grep user ./flake.nix | sed -e 's/.*user = "\(.*\)";.*/\1/')"
|
||||||
if [ -z "$username" ]; then
|
if [ -z "$username" ]; then
|
||||||
>&2 echo "Cannot determine username"
|
>&2 echo "Cannot determine username"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue