remove docker.gpg if exists
This commit is contained in:
@@ -516,6 +516,11 @@ fi;
|
|||||||
echo "Would you like to install/update docker? (y/N)";
|
echo "Would you like to install/update docker? (y/N)";
|
||||||
read -r ANSWER;
|
read -r ANSWER;
|
||||||
if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ]; then
|
if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ]; then
|
||||||
|
|
||||||
|
if [ -f "/etc/apt/keyrings/docker.gpg" ]; then
|
||||||
|
rm -f /etc/apt/keyrings/docker.gpg
|
||||||
|
fi;
|
||||||
|
|
||||||
#install_docker_deb;
|
#install_docker_deb;
|
||||||
# install docker using apt-get
|
# install docker using apt-get
|
||||||
install_docker_apt
|
install_docker_apt
|
||||||
|
Reference in New Issue
Block a user