Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected format for sources comment to show in Software Sources

  • Loading branch information...
commit ca52720a7258163ea3117bd843f047024e42d5a4 1 parent 8eb4b46
@gontadu gontadu authored
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

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.

@gontadu
gontadu added a note

Yup I see my mistake!

@gontadu
gontadu added a note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
apt_update
-echo "All done!"
+echo "All done!"
Please sign in to comment.
Something went wrong with that request. Please try again.