Skip to content

Commit

Permalink
Copy logs to sdcard/ when using sideload
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdev99 authored and mfonville committed Jan 21, 2020
1 parent 498913b commit 8a4de77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/inc.installer.sh
Expand Up @@ -1568,10 +1568,15 @@ for i in "$TMP/aroma/.gapps-config"\
done;
# We log in the same directory as the gapps-config file, unless it is aroma
# or adb sideload
if [ -n "$g_conf" ] && [ "$g_conf" != "$TMP/aroma/.gapps-config" ]; then
log_folder="$(dirname "$g_conf")";
else
log_folder="$zip_folder";
if [ "$zip_folder" == "/sideload" ]; then
log_folder=/sdcard;
else
log_folder="$zip_folder";
fi
fi
if [ "$g_conf" ]; then
Expand Down

0 comments on commit 8a4de77

Please sign in to comment.