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

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

cromite: Run hooks later

parent 1fc07f14
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -102,14 +102,15 @@ patch() {
sync() {
    echo ">> [$(date)] Syncing chromium $chromium_version"
    cd $chromium_dir
    yes | gclient sync -D -R -r $chromium_version
    gclient sync -D --nohooks -r $chromium_version
    gclient runhooks
    patch
}

init_repo(){
    echo ">> [$(date)] Init chromium $chromium_version"
    cd $chromium_dir
    fetch android
    fetch --nohooks android
}

while getopts ":a:chr:s" opt; do