We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603adbb commit 2f71d90Copy full SHA for 2f71d90
install.sh
@@ -87,7 +87,13 @@ _report_bug() {
87
# Function for Google Analytics
88
_analytics() {
89
# Generate random user ID string
90
- UUID=$(uuidgen)
+ if [ -x "$(command -v uuidgen)" ]; then
91
+ UUID=$(uuidgen)
92
+ elif [ -f "/proc/sys/kernel/random/uuid" ]; then
93
+ UUID=$(cat /proc/sys/kernel/random/uuid)
94
+ else
95
+ UUID="00000000-0000-0000-0000-000000000000"
96
+ fi
97
# Get exact OS
98
if [ -d "/mnt/c/Windows" ]; then
99
REALOS="Windows"
0 commit comments