We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6848265 commit 5579ed6Copy full SHA for 5579ed6
1 file changed
linux/install.sh
@@ -85,6 +85,9 @@ function debian {
85
if [ ! -f /etc/apt/sources.list.d/javaforce.list ]; then
86
echo Download javaforce.list
87
wget -NP /etc/apt/sources.list.d http://javaforce.sf.net/debian/$VERSION_ID/$ARCH/javaforce.list
88
+ if [ $ID = "ubuntu" ]; then
89
+ sed -i 's/debian/ubuntu/g' /etc/apt/sources.list.d/javaforce.list
90
+ fi
91
chmod 644 /etc/apt/sources.list.d/javaforce.list
92
fi
93
if [ $UPDATE = "yes" ]; then
0 commit comments