bug fixes

This commit is contained in:
YellowJacketLinux 2024-10-04 01:45:32 -07:00
parent 2423f6d416
commit 86245889f4
2 changed files with 7 additions and 2 deletions

View File

@ -6,11 +6,11 @@ GLSOURCES="/sources"
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
[ -d iana-etc-${man_pages_version} ] && rm -rf iana-etc-${man_pages_version}
[ -d iana-etc-${iana_etc_version} ] && rm -rf iana-etc-${iana_etc_version}
tar -zxf ${iana_etc_tarball}
cd iana-etc-${man_pages_version}
cd iana-etc-${iana_etc_version}
cp services protocols /etc

View File

@ -1,5 +1,10 @@
#!/bin/bash
function myfail {
echo "$1"
exit 1
}
if [ "`whoami`" != "root" ]; then
myfail "Must run this script as r00t"
fi