archboot/usr/lib/initcpio/install/archboot_installer_cleanup

19 lines
403 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
# save RAM with deleting already copied content
rm -rf /var/cache/pacman/pkg
}
help ()
{
cat<<HELPEOF
This hook removes package cache of archboot_installer hook,
for update installer routine.
DO NOT USE ON REGULAR SYSTEM!
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: