932
edits
Changes
m
→Part 3: Generating Sofware Package Information with Shell Scripts: - switching to making sure whoami is root, not in root's home dir.
# Date: *** CURRENT DATE ***<br>
<br>
if [ $PWD (whoami) != "/root/bin" ] # only runs if in /root/bin directory<br>
then<br> echo "You must be logged in as root." >&2<br>
exit 1<br>