mirror of
https://github.com/torrentpier/autoinstall.git
synced 2025-02-28 15:10:55 +03:00
Fixed the search at the beginning of the line (#5)
This commit is contained in:
parent
3faed73e71
commit
a9284354de
@ -14,7 +14,7 @@ clear
|
||||
|
||||
# Arrays and variables used
|
||||
suppOs=("debian" "ubuntu")
|
||||
currOs=$(grep ^ID /etc/os-release | awk -F= '{print $2}')
|
||||
currOs=$(grep ^ID= /etc/os-release | awk -F= '{print $2}')
|
||||
logsInst="/var/log/torrentpier_install.log"
|
||||
|
||||
# TorrentPier auth
|
||||
|
@ -15,7 +15,7 @@ clear
|
||||
# Arrays and variables used
|
||||
suppOs=("debian" "ubuntu")
|
||||
aptOs=("debian" "ubuntu")
|
||||
currOs=$(grep ^ID /etc/os-release | awk -F= '{print $2}')
|
||||
currOs=$(grep ^ID= /etc/os-release | awk -F= '{print $2}')
|
||||
logsInst="/var/log/torrentpier_install.log"
|
||||
|
||||
# User verification
|
||||
|
Loading…
Reference in New Issue
Block a user