Correct typos in comments in clear-repo.sh

This commit is contained in:
Alexandre CATTEAU 2022-08-19 10:05:41 +02:00
parent fb1de49639
commit 0e0d7fb89c

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# The purpose of this script is to clear our custom pacman repository # The purpose of this script is to clear our custom pacman repository
# i.e. remove older versions of packages # i.e. remove old versions of packages
# This script should NOT be run as root. # This script should NOT be run as root.
# Make sure that AWK rules file is present, readable and correctly set in this script's parameters # Make sure that AWK rules file is present, readable and correctly set in this script's parameters
@ -24,7 +24,7 @@ init() {
} }
clearRepo() { clearRepo() {
if [ "$(uname)" = "OpenBSD" ]; then # TODO This could probably be done better (like with actually checking if tar is GNU... if [ "$(uname)" = "OpenBSD" ]; then # TODO This could probably be done better (like with actually checking if tar is GNU...)
gnutar="gtar" gnutar="gtar"
else else
gnutar="tar" gnutar="tar"