mirror of
https://github.com/twisterarmy/twister-cli-installer.git
synced 2025-03-12 21:31:24 +00:00
remove unused construction
This commit is contained in:
parent
b8120a5b2e
commit
28310bb3f3
@ -6,13 +6,6 @@
|
|||||||
# https://github.com/twisterarmy/twister-cli-installer
|
# https://github.com/twisterarmy/twister-cli-installer
|
||||||
# Based on the openvpn-install codebase (https://github.com/angristan/openvpn-install)
|
# Based on the openvpn-install codebase (https://github.com/angristan/openvpn-install)
|
||||||
|
|
||||||
function isRoot() {
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function checkOS() {
|
function checkOS() {
|
||||||
|
|
||||||
if [[ -e /etc/debian_version ]]; then
|
if [[ -e /etc/debian_version ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user