mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-09 03:56:06 +01:00
Fix argument counting in login-inner
This commit is contained in:
parent
fb7f12558f
commit
57fc985455
1 changed files with 3 additions and 3 deletions
|
|
@ -6,10 +6,10 @@
|
||||||
writeTextDir "usr/lib/login-inner" ''
|
writeTextDir "usr/lib/login-inner" ''
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ "$#" -gt 1 ] || echo "Welcome to Nix-on-Droid!"
|
[ "$#" -gt 0 ] || echo "Welcome to Nix-on-Droid!"
|
||||||
|
|
||||||
[ "$#" -gt 1 ] || echo "If nothing works, use the rescue shell and read ${instDir}/usr/lib/login-inner"
|
[ "$#" -gt 0 ] || echo "If nothing works, use the rescue shell and read ${instDir}/usr/lib/login-inner"
|
||||||
[ "$#" -gt 1 ] || echo "If it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
[ "$#" -gt 0 ] || echo "If it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
||||||
|
|
||||||
export USER=nix-on-droid
|
export USER=nix-on-droid
|
||||||
export HOME="/data/data/com.termux.nix/files/home"
|
export HOME="/data/data/com.termux.nix/files/home"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue