#!/bin/sh -e # SPDX-License-Identifier: GPL-3.0-or-later # # SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me) # This script copies a file to the chroot and runs commands during the Debian installation process. # install hblock curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \ && echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \ && sudo mv /tmp/hblock /target/usr/local/bin/hblock \ && sudo chown 0:0 /target/usr/local/bin/hblock \ && sudo chmod 755 /target/usr/local/bin/hblock