mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-11-14 19:03:07 +00:00
check existence of /etc/os-release
This commit is contained in:
1 parent
205831ab61
commit
579e6b54fb
1 file changed
+2
-1
@@ -48,7 +48,8 @@ elif [ "$DISPLAY" ]; then
|
||||
fi
|
||||
|
||||
## Distro
|
||||
. /etc/os-release # a common file that has variables about the distro
|
||||
o=/etc/os-release
|
||||
[ -f $o ] && . $o # a common file that has variables about the distro
|
||||
|
||||
## Memory
|
||||
# loop over lines in /proc/meminfo until it reaches MemTotal,
|
||||
|
||||
Reference in new issue
Block a user