Skip to content

Commit eec7bec

Browse files
fixing vnc shortcut
1 parent bc995a3 commit eec7bec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/scripts/hippo/hippo.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ 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"
172+
if [[ -f "${CACHE_ROOT}"/fs-manager-hippo/etc/scripts/vncserver/startvnc.sh ]] && [[ ! -f ${HIPPO_DIR}/bin/startvnc ]]; then
173+
DIR="${CACHE_ROOT}/fs-manager-hippo/etc/scripts/vncserver/startvnc.sh"
174174
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
178-
DIR="${CACHE_ROOT}/ubuntu-on-android/etc/scripts/vncserver/stopvnc.sh"
177+
if [ -f "${CACHE_ROOT}"/fs-manager-hippo/etc/scripts/vncserver/stopvnc.sh ] && [ ! -f ${HIPPO_DIR}/bin/stopvnc ]; then
178+
DIR="${CACHE_ROOT}/fs-manager-hippo/etc/scripts/vncserver/stopvnc.sh"
179179
cp "${DIR}" ${HIPPO_DIR}/bin/stopvnc
180180
proot-distro login hippo -- chmod 775 /bin/stopvnc
181181
fi

0 commit comments

Comments
 (0)