diff options
Diffstat (limited to 'community/gvmd/fix-gvm-port-update-name-and-backend.patch')
-rw-r--r-- | community/gvmd/fix-gvm-port-update-name-and-backend.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/community/gvmd/fix-gvm-port-update-name-and-backend.patch b/community/gvmd/fix-gvm-port-update-name-and-backend.patch deleted file mode 100644 index b10f52c12a8..00000000000 --- a/community/gvmd/fix-gvm-port-update-name-and-backend.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/tools/gvm-portnames-update.in b/tools/gvm-portnames-update.in -index ab49349..4d71471 100644 ---- a/tools/gvm-portnames-update.in -+++ b/tools/gvm-portnames-update.in -@@ -20,9 +20,7 @@ - # Update Port Names data. - - POSTGRES=0 --if [ "@BACKEND@" = "POSTGRESQL" ]; then -- POSTGRES=1 --fi -+psql -d gvmd -c '\q' && POSTGRES=1; - - do_help () { - echo "Update port names data from a port names XML file."; -@@ -31,7 +29,7 @@ do_help () { - echo "In order to update the DB, download the port names list and"; - echo "provide its path as an argument to this script."; - echo " $ wget http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml"; -- echo " $ openvas-portnames-update service-names-port-numbers.xml"; -+ echo " $ gvm-portnames-update service-names-port-numbers.xml"; - echo " $ rm service-names-port-numbers.xml"; - exit 0 - } |