diff --git a/haini.sh b/haini.sh index 0008d36..4dd870d 100755 --- a/haini.sh +++ b/haini.sh @@ -16,10 +16,14 @@ function correr() { # Necesitamos bubblewrap type bwrap >/dev/null || exit 1 + mkdir -p $ENTORNO/home + # migrar de versiones anteriores de hainish + test -d $ENTORNO$HOME && mv $ENTORNO$HOME $ENTORNO/home/suttier + env -i \ TERM="$TERM" \ USER="$USER" \ - HOME="$HOME" \ + HOME="/home/suttier" \ RAILS_ENV=development \ bwrap \ --unshare-user-try \