Skip to content

Commit

Permalink
make sure to create LOGIN_CACHE_FILE
Browse files Browse the repository at this point in the history
if file doesn't exist make sure to create it!
- RandomCoderOrg/ubuntu-on-android#182
  • Loading branch information
AnninoDr4 authored Aug 3, 2022
1 parent e3eb9b7 commit 36f2a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/udroid/udroid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ _login() {
if [[ $avalible_distros =~ $distro ]]; then
if is_installed "$distro"; then
# store distro aliases in cache
[[ ! -f $LOGIN_CACHE_FILE ]] && touch $LOGIN_CACHE_FILE
echo "$distro" >"$LOGIN_CACHE_FILE"
# start distro
start "$distro" $extra_args
Expand Down

0 comments on commit 36f2a7e

Please sign in to comment.