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