mirror of
https://github.com/YunoHost-Apps/jappix_ynh.git
synced 2024-09-03 19:26:19 +02:00
Update install
This commit is contained in:
parent
17c91fc003
commit
b0ee44fde0
1 changed files with 1 additions and 2 deletions
|
@ -11,9 +11,8 @@ exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove trailing "/" for next commands
|
# Remove trailing "/" for next commands
|
||||||
if [ "$path" != "/" ]; then
|
|
||||||
path=${path%/}
|
path=${path%/}
|
||||||
fi
|
|
||||||
|
|
||||||
# Generate random DES key & password
|
# Generate random DES key & password
|
||||||
deskey=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
deskey=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||||
|
|
Loading…
Reference in a new issue