diff --git a/CHANGELOG.md b/CHANGELOG.md index d2a0093..7a21aed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Microsoft Teams installer [#34](https://github.com/openSUSE/opi/pulls/34) +- Warning for personal repository [#35](https://github.com/openSUSE/opi/pulls/35) ## [0.9.0] diff --git a/opi b/opi index 8d52649..70a2b3e 100755 --- a/opi +++ b/opi @@ -129,7 +129,6 @@ my @binary_options = get_binary_by_name($selected_name, @bins); # print_binary_options(@binary_options); - # # Select a binary package option # @@ -140,7 +139,9 @@ my $selected_binary = $binary_options[$selected_binary_number - 1]; print "You have selected binary package: "; print_binary_option($selected_binary); print "\n"; - +if (is_personal_project($selected_binary->{project})) { + print colored("BE CAREFUL! The package is from a personal repository and NOT reviewed by others.\nYou can ask the author to submit the package to development projects and openSUSE:Factory.\nLearn more at https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory\n", 'red'); +} # # Install selected package