mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 12:30:39 +02:00
19 lines
405 B
Bash
19 lines
405 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:
|