forked from PippCandy/autoinstallers
first commit
This commit is contained in:
18
ubuntu/auto-install.sh
Executable file
18
ubuntu/auto-install.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Welcome to the Discord-Linux Automated-Installer"
|
||||
echo "To view the currently avalible software, use: auto-install list"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OperatingSystem=$(cat /var/OS)
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
if [ "$1" == "list" ]
|
||||
then
|
||||
curl https://ssh.surf/$OperatingSystem/list
|
||||
else
|
||||
wget -q -O - https://ssh.surf/$OperatingSystem/$1 | bash
|
||||
fi
|
||||
|
Reference in New Issue
Block a user