mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
17 lines
334 B
Bash
17 lines
334 B
Bash
#!/usr/bin/env bash
|
|
# 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
|
|
}
|