clean up directory after build

This commit is contained in:
YellowJacketLinux 2024-10-07 23:49:09 -07:00
parent c4e30452a7
commit 2e48c0d9f3
19 changed files with 174 additions and 1 deletions

View File

@ -27,3 +27,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing groff"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf groff-${groff_version}
popd

View File

@ -31,3 +31,12 @@ if [ $? -ne 0 ]; then
fi
mv /etc/bash_completion.d/grub /usr/share/bash-completion/completions
popd
# cleanup
pushd $GLSOURCES
rm -rf grub-${grub_version}
popd

View File

@ -27,3 +27,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing gzip"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf gzip-${gzip_version}
popd

View File

@ -28,3 +28,12 @@ fi
mkdir -p /usr/share/doc/iproute2-${iproute2_version}
cp COPYING README* /usr/share/doc/iproute2-${iproute2_version}/
popd
# cleanup
pushd $GLSOURCES
rm -rf iproute2-${iproute2_version}
popd

View File

@ -34,3 +34,12 @@ fi
cp -R docs/doc -T /usr/share/doc/kbd-${kbd_version}
popd
# cleanup
pushd $GLSOURCES
rm -rf kbd-${kbd_version}
popd

View File

@ -27,3 +27,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing libpipeline"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf libpipeline-${libpipeline_version}
popd

View File

@ -24,3 +24,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing make"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf make-${make_version}
popd

View File

@ -27,3 +27,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing patch"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf patch-${patch_version}
popd

View File

@ -30,3 +30,12 @@ fi
make -C doc install-html docdir=/usr/share/doc/tar-${tar_version}
popd
# cleanup
pushd $GLSOURCES
rm -rf tar-${tar_version}
popd

View File

@ -27,3 +27,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing texinfo"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf texinfo-${texinfo_version}
popd

View File

@ -50,3 +50,13 @@ endif
" End /etc/vimrc
EOF
popd
# cleanup
pushd $GLSOURCES
rm -rf vim-${vim_version}
popd

View File

@ -22,3 +22,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing MarkupSafe"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf MarkupSafe-${markupsafe_version}
popd

View File

@ -22,3 +22,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing jinja2"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf jinja2-${jinja2_version}
popd

View File

@ -59,3 +59,13 @@ tar -xf ../../${systemd_man_tarball} \
systemd-machine-id-setup
systemctl preset-all
popd
# cleanup
pushd $GLSOURCES
rm -rf systemd-${systemd_version}
popd

View File

@ -37,4 +37,12 @@ if [ $? -ne 0 ]; then
fi
ls -sf /etc/machine-id /var/lib/dbus
popd
# cleanup
pushd $GLSOURCES
rm -rf dbus-${dbus_version}
popd

View File

@ -34,3 +34,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing man-db"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf man-db-${mandb_version}
popd

View File

@ -28,3 +28,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing procps-ng"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf procps-ng-${procps_version}
popd

View File

@ -39,3 +39,12 @@ if [ $? -ne 0 ]; then
myfail "Failed installing util-linux"
fi
popd
# cleanup
pushd $GLSOURCES
rm -rf util-linux-${util_linux_version}
popd

View File

@ -45,3 +45,13 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
# may not be needed soon but...
sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf
popd
# cleanup
pushd $GLSOURCES
rm -rf e2fsprogs-${e2fsprogs_version}
popd