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 @@ -42,7 +42,7 @@ _login() {
4242 avalible_distros=$( find $D_INSTALLED_ROOTFS -maxdepth 1 -type d | grep udroid)
4343 cd " $OLDPWD " || exit
4444
45- if [ -z " $UDROID_SUITE " ] || [ -z " $_SUITE " ] ; then
45+ if [ -z " $UDROID_SUITE " ] && [ -z " $_SUITE " ] ; then
4646 suite=" udroid-focal"
4747 else
4848 [[ -n " $UDROID_SUITE " ]] && _suite=" $UDROID_SUITE "
@@ -172,7 +172,7 @@ _reset() {
172172 avalible_distros=$( find $D_INSTALLED_ROOTFS -maxdepth 1 -type d | grep udroid)
173173 varient=$1
174174
175- if [ -z " $UDROID_SUITE " ] || [ -z " $_SUITE " ] ; then
175+ if [ -z " $UDROID_SUITE " ] && [ -z " $_SUITE " ] ; then
176176 _suite=" udroid-focal"
177177 else
178178 [[ -n " $UDROID_SUITE " ]] && _suite=" $UDROID_SUITE "
@@ -188,11 +188,11 @@ _reset() {
188188 fi
189189}
190190
191- remove () {
191+ _remove () {
192192 avalible_distros=$( find $D_INSTALLED_ROOTFS -maxdepth 1 -type d | grep udroid)
193193 varient=$1
194194
195- if [ -z " $UDROID_SUITE " ] || [ -z " $_SUITE " ] ; then
195+ if [ -z " $UDROID_SUITE " ] && [ -z " $_SUITE " ] ; then
196196 _suite=" udroid-focal"
197197 else
198198 [[ -n " $UDROID_SUITE " ]] && _suite=" $UDROID_SUITE "
You can’t perform that action at this time.
0 commit comments