#!/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 chroot /target \ curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock' \ && echo 'a7d748b69db9f94932333a5b5f0c986dd60a39fdf4fe675ad58364fea59c74b4 /tmp/hblock' | shasum -c \ && mv /tmp/hblock /usr/local/bin/hblock \ && chown 0:0 /usr/local/bin/hblock \ && chmod 755 /usr/local/bin/hblock