Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a90757d authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Browser: Update depot_tools if it exists

parent 8f48cecf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -241,6 +241,11 @@ shift $((OPTIND - 1))
# Add depot_tools to PATH
if [ ! -d "$chromium_dir/depot_tools" ]; then
    git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "$chromium_dir/depot_tools"
else
    cd $chromium_dir/depot_tools
    git fetch https://chromium.googlesource.com/chromium/tools/depot_tools.git main
    git reset --hard FETCH_HEAD
    cd $chromium_dir
fi
export PATH="$chromium_dir/depot_tools:$PATH"