diff --git a/scripts/install b/scripts/install index c70866a..dcdea83 100755 --- a/scripts/install +++ b/scripts/install @@ -76,8 +76,14 @@ then then gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553 fi - gpg -a --export 7638D0442B90D010 | apt-key add - - gpg -a --export 8B48AD6246925553 | apt-key add - + if [ $(apt-key finger | grep "7638 D044 2B90 D010" -c) == 0 ] + then + gpg -a --export 7638D0442B90D010 | apt-key add - + fi + if [ $(apt-key finger | grep "8B48 AD62 4692 5553" -c) == 0 ] + then + gpg -a --export 8B48AD6246925553 | apt-key add - + fi fi ynh_package_update ynh_install_app_dependencies minetest-server