PepMiniiso/pepscriptsdev/06hblock-install

15 lines
506 B
Plaintext
Raw Permalink Normal View History

2023-07-15 13:31:25 +00:00
#!/bin/sh -e
# SPDX-License-Identifier: GPL-3.0-or-later
#
2023-07-16 11:00:06 +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 15:41:42 +00:00
chroot /target curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.2/hblock'
chroot /target mv /tmp/hblock /usr/local/bin/hblock
chroot /target chown 0:0 /usr/local/bin/hblock
chroot /target chmod 755 /usr/local/bin/hblock