Delete this code

This code is unnessesary and bug casing with previous fix
This commit is contained in:
dannkunt 2021-10-20 08:38:36 +03:00 committed by GitHub
parent 8be912a8cf
commit 0db250f02a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,5 @@
#!/bin/sh #!/bin/sh
if [ "$(id -u)" != "${PUID:-1000}" ] || [ "$(id -g)" != "${PGID:-1000}" ]; then
usermod -o -u "${PUID:-1000}" user
groupmod -o -g "${PGID:-1000}" user
chown -R user /home/user
sudo -u user /entrypoint $@
exit 0
fi
cd $HOME/rustdesk cd $HOME/rustdesk
. $HOME/.cargo/env . $HOME/.cargo/env