Updated jdownloader2_setup.sh

This commit is contained in:
Steven Seifried 2022-02-20 22:50:21 +01:00
parent 233c4176d8
commit b4c9bd8165
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -37,7 +37,7 @@ echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
apt-get -qqy install \ apt-get -qqy install \
wget \ wget \
sudo \ sudo \
openjdk-11-jre-headless openjdk-11-jre-headless \
nfs-kernel-server &>/dev/null nfs-kernel-server &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Create user for jdownloader2... \e[0m" echo -e "${CHECKMARK} \e[1;92m Create user for jdownloader2... \e[0m"
@ -45,7 +45,7 @@ useradd -s /sbin/nologin jdown2
echo -e "${CHECKMARK} \e[1;92m Create folder for jdownloader2... \e[0m" echo -e "${CHECKMARK} \e[1;92m Create folder for jdownloader2... \e[0m"
mkdir /opt/jdown2 mkdir /opt/jdown2
chown jdown2. /opt/jdown2 chown jdown2 /opt/jdown2
cd /opt/jdown2 cd /opt/jdown2
echo -e "${CHECKMARK} \e[1;92m Downloading jdownloader2... \e[0m" echo -e "${CHECKMARK} \e[1;92m Downloading jdownloader2... \e[0m"