fixup
This commit is contained in:
parent
99008185b4
commit
faf818cebe
|
@ -1,9 +1,8 @@
|
||||||
# /etc/profile.d/sum.sh
|
# /etc/profile.d/sum.sh
|
||||||
|
|
||||||
# Ensure the script is sourced, not executed
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
||||||
if [[ "$0" == "${BASH_SOURCE[0]}" ]] || [[ "$0" == "${(%):-%x}" ]]; then
|
|
||||||
echo "This script should be sourced, not executed."
|
echo "This script should be sourced, not executed."
|
||||||
return 1 2>/dev/null || exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Function to generate SHA-256 hashes for .sh files in a given directory
|
# Function to generate SHA-256 hashes for .sh files in a given directory
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4f1ce7aae33e2ecbaf27cb28ab7fad332f4f65e814d79fdda70e07f118f2d808
|
7846925456f82da2e475833061a4ee605302d3db001d0df8c1678d71e9329896
|
||||||
|
|
Loading…
Reference in New Issue