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 @@ -44,7 +44,7 @@ _login() {
4444 cd " $OLDPWD " || exit
4545
4646 if [ -z " $UDROID_SUITE " ] && [ -z " $_SUITE " ]; then
47- suite=" udroid- focal"
47+ suite=" focal"
4848 else
4949 [[ -n " $UDROID_SUITE " ]] && suite=" $UDROID_SUITE "
5050 [[ -n " $_SUITE " ]] && suite=" $_SUITE "
@@ -206,13 +206,13 @@ _remove() {
206206 varient=$1
207207
208208 if [ -z " $UDROID_SUITE " ] && [ -z " $_SUITE " ]; then
209- _suite=" udroid- focal"
209+ _suite=" focal"
210210 else
211211 [[ -n " $UDROID_SUITE " ]] && _suite=" $UDROID_SUITE "
212212 [[ -n " $_SUITE " ]] && _suite=" $_SUITE "
213213 msg " udroid suite is set to ${_SUITE} "
214214 fi
215- suite=" ${_suite} -$varient "
215+ suite=" udroid- ${_suite} -$varient "
216216
217217 if is_installed " $suite " ; then
218218 proot-distro remove $suite
@@ -255,7 +255,7 @@ is_installed() {
255255 return 1
256256 fi
257257
258- if [ ! -d " ${D_INSTALLED_ROOTFS} /${target_suite} " ]; then
258+ if [ ! -d " ${D_INSTALLED_ROOTFS} /${target_suite} /bin " ]; then
259259 return 1
260260 fi
261261
You can’t perform that action at this time.
0 commit comments