chore: Cleanup comments.

This commit is contained in:
greysoh 2024-07-19 14:31:07 -04:00
parent bae947de74
commit 968d171699
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -20,9 +20,10 @@ fi
if [[ "$UID" != "0" ]]; then if [[ "$UID" != "0" ]]; then
# Hacky workaround for failing to read NIX_BUILD_ID when called like: # Hacky workaround for failing to read NIX_BUILD_ID when called like:
# ./update # - $: ./update
# but this works: # but this works:
# sudo ./update # - $: sudo su
# - #: ./update
echo "NIX_BUILD_ID=$NIX_BUILD_ID" > /tmp/nixbuildid echo "NIX_BUILD_ID=$NIX_BUILD_ID" > /tmp/nixbuildid
chmod +x /tmp/nixbuildid chmod +x /tmp/nixbuildid