mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 20:10:36 +02:00
18 lines
334 B
Text
18 lines
334 B
Text
|
#!/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
|
||
|
}
|