Files
lnx-arch/dots/bin/azurevpnclient_GLib-GIO-CRITICAL_fix.sh
committer@t470p b32657d43e /+ tr+1 tr-1
2025-08-08 06:41:48 -05:00

20 lines
299 B
Bash
Executable File

#!/usr/bin/env bash
# klevstul :: 25.07
this_file_name=`basename "$0"`
echo "<< ${this_file_name} >>"
if [ "$EUID" -ne 0 ]
then echo "error: run as 'root'"
exit
fi
# 1. Set the file to write to
file="/etc/os-release"
# 2. Append text with '>>'
echo "VERSION=\"0\"" >> ${file}
tail ${file}