Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Format correction #21

Merged
merged 1 commit into from

3 participants

@gontadu

Thanks for accepting the pull request. But I see you also split the sources into 2 lines. When its over 2 lines then the comment does not appear in Software Sources. However, when the # is placed at the end of the source line then it shows as a comment for that source. Which is also the reason for my original change and the fresh pull request.

@flexiondotorg flexiondotorg merged commit 7a05488 into flexiondotorg:master
@mikkorantalainen

This is incorrect. The version before this patch writes file "oab.list" from scratch. After applying this patch, the file will be appended by one extra line EVERY TIME this script is run.

Yup I see my mistake!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 3 deletions.
  1. +2 −3 oab-java6.sh
View
5 oab-java6.sh
@@ -444,8 +444,7 @@ if [ -e /var/local/oab/gpg/pubring.gpg ] && [ -e /var/local/oab/gpg/secring.gpg
fi
# Update apt cache
-echo "# Sun Java6 - https://github.com/flexiondotorg/oab-java6" > /etc/apt/sources.list.d/oab.list
-echo "deb file:///var/local/oab/deb /" >> /etc/apt/sources.list.d/oab.list
+echo "deb file:///var/local/oab/deb / #Sun Java6 - https://github.com/flexiondotorg/oab-java6" >> /etc/apt/sources.list.d/oab.list
apt_update
-echo "All done!"
+echo "All done!"
Something went wrong with that request. Please try again.