update cleanup scripts

This commit is contained in:
manuel 2023-07-16 10:56:13 +00:00
parent ac118ed03d
commit 16f57a705c
3 changed files with 11 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# #
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me) # SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process. # This script copies a file to the chroot and runs commands during the Debian installation process.

View File

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

View File

@ -2,17 +2,16 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# #
# SPDX-FileCopyrightText: 2023 PeppemrintOS Team (peppermintosteam@proton.me) # SPDX-FileCopyrightText: 2023 PeppermintOS Team (peppermintosteam@proton.me)
# This script copies a file to the chroot and runs commands during the Debian installation process. # This script copies a file to the chroot and runs commands during the Debian installation process.
# Remove unwanted software # Remove unwanted software
chroot /target \ chroot /target apt --purge autoremove \
apt --purge --yes autoremove \ quassel \
-- quassel \ thunderbird \
-- thunderbird \ mpv \
-- mpv \ smtube \
-- smtube \ audacious \
-- audacious \ connman \
-- connman \