what the fuck

This commit is contained in:
kevadesu 2025-01-08 21:00:47 +01:00
parent 541acacd84
commit e5aa8492ac

View file

@ -15,13 +15,13 @@ fi
echo "Switched to Einrichter-in-chroot mode. Type eic.help for list of commands, exit to exit." echo "Switched to Einrichter-in-chroot mode. Type eic.help for list of commands, exit to exit."
main() { function main() {
read -p "einrichter/eic>" OPT read -p "einrichter/eic>" OPT
$OPT $OPT
main main
} }
eic.help() { function eic.help() {
echo " echo "
eic.dirs.create - set up directories eic.dirs.create - set up directories
eic.essentials.create - set up essentials eic.essentials.create - set up essentials
@ -195,13 +195,13 @@ function eic.essentials.install() {
popd popd
} }
eic.clean() { function eic.clean() {
rm -rf /usr/share/{info,man,doc}/* rm -rf /usr/share/{info,man,doc}/*
find /usr/{lib,libexec} -name \*.la -delete find /usr/{lib,libexec} -name \*.la -delete
rm -rf /tools rm -rf /tools
} }
eic.system.build() { function eic.system.build() {
pushd /sources pushd /sources
tar -xvf man-pages-6.9.1.tar.xz tar -xvf man-pages-6.9.1.tar.xz
mv man-pages-6.9.1.tar.xz man-pages mv man-pages-6.9.1.tar.xz man-pages
@ -706,7 +706,7 @@ EOF
popd popd
} }
eic.system.build.continue() { function eic.system.build.continue() {
pushd /sources/ pushd /sources/
pushd gcc/ pushd gcc/
case $(uname -m) in case $(uname -m) in