• Kirill Kolyshkin's avatar
    scripts/build/extract-deb-pkg: fix/improve · 5b158804
    Kirill Kolyshkin authored
    Numerous improvement to extract-deb-pkg, in no particular order:
    
     * Use bash
     * More strict error checking (set -u -o pipefail)
     * Print error message if target dir exists
     * Check number of arguments, provide usage info
     * Separate mirror to a variable for easier changing
     * Use mirrors.kernel.org
     * Use https and check cert with curl
     * Make curl silent
     * Use zgrep instead of gunzip | grep
     * Error out with a message in case more than 1 package was found
     * Do not create a target directory before we need it
     * Fix shellcheck warnings (way too many to mention)
     * ...
     * PROFIT!!!111
    Signed-off-by: 's avatarKir Kolyshkin <kolyshkin@gmail.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    5b158804
Name
Last commit
Last update
..
build Loading commit data...
nmk Loading commit data...
travis Loading commit data...
crit-setup.py Loading commit data...
fake-restore.sh Loading commit data...
feature-tests.mak Loading commit data...
flake8.cfg Loading commit data...
install-debian-pkgs.sh Loading commit data...
magic-gen.py Loading commit data...
protobuf-gen.sh Loading commit data...
systemd-autofs-restart.sh Loading commit data...
tmp-files.sh Loading commit data...