publish script fixes permissions, display sources.list line at the end