add base_common_cleanup

This commit is contained in:
Tobias Powalowski 2023-11-10 11:05:02 +01:00
parent 6566516c81
commit e26e5beb97

View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Created by Tobias Powalowski <tpowa@archlinux.org>
_run ()
{
! grep -qw 'archboot' /etc/hostname && return
_APPS="journalctl setfont mkfs.btrfs gzip systemctl mountpoint"
_install_files
for i in ${_APPS}; do
rm /usr/bin/"${i}"
done
}
# vim: set ft=sh ts=4 sw=4 et: