File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,12 +169,12 @@ function _lauch_or_install()
169169
170170
171171 pulseaudio --start --load=" module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1 >> /dev/null
172- if [ -f " {CACHE_ROOT}" /ubuntu-on-android/etc/scripts/vncserver/startvnc.sh ] && [ ! -f ${HIPPO_DIR} /bin/startvnc ]; then
173- DIR=" {CACHE_ROOT}/ubuntu-on-android/etc/scripts/vncserver/startvnc.sh"
174- cp ${DIR} ${HIPPO_DIR} /bin/startvnc
172+ if [[ -f " $ {CACHE_ROOT}" /ubuntu-on-android/etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR} /bin/startvnc ] ]; then
173+ DIR=" $ {CACHE_ROOT} /ubuntu-on-android/etc/scripts/vncserver/startvnc.sh"
174+ cp " ${DIR} " ${HIPPO_DIR} /bin/startvnc
175175 proot-distro login hippo -- chmod 775 /bin/startvnc
176176 fi
177- if [ -f " {CACHE_ROOT}" /ubuntu-on-android/etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR} /bin/stopvnc ]; then
177+ if [ -f " $ {CACHE_ROOT}" /ubuntu-on-android/etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR} /bin/stopvnc ]; then
178178 DIR=" ${CACHE_ROOT} /ubuntu-on-android/etc/scripts/vncserver/stopvnc.sh"
179179 cp " ${DIR} " ${HIPPO_DIR} /bin/stopvnc
180180 proot-distro login hippo -- chmod 775 /bin/stopvnc
You can’t perform that action at this time.
0 commit comments