diff --git a/debmany/debmany b/debmany/debmany index 3542d8b..6c08197 100755 --- a/debmany/debmany +++ b/debmany/debmany @@ -4,7 +4,7 @@ # description: select manpages+docs of any [not] installed Debian package # comment: debmany is based on the work of debman and debget # gui uses: whiptail (preferred), dialog or zenity as well -# other uses: curl, $PAGER or sensible-pager (can be overwritten: -o) +# other uses: apt, $PAGER or sensible-pager (can be overwritten: -o) # optional: -k -x: kfmclient exec (konqueror), xdg-open (xdg-utils) # This is free software. You may redistribute copies of it under the terms of # the GNU General Public License . @@ -350,9 +350,9 @@ fi fi # download the package - debug "Mode3: Start download using curl" # comment - curl --location "$url" >"$file" || error "Failed to download '$url' to '$file'." - status=repos-curl + debug "Mode3: Start download using APT" # comment + /usr/lib/apt/apt-helper download-file "$url" "$file" || error "Failed to download '$url' to '$file'." + status=repos-download fi fi cd "$temp" diff --git a/debmany/man/debmany.1 b/debmany/man/debmany.1 index cd0ad5f..6c29383 100644 --- a/debmany/man/debmany.1 +++ b/debmany/man/debmany.1 @@ -43,7 +43,7 @@ .PP The manpages are temporarily extracted to a temporary directory under /tmp (or /var/tmp, if /tmp is not a directory). You can override the path if you set and export the environment variable TMPDIR or set it as a temporary variable. .PP -You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "curl" installed. +You need to have the Debian package "whiptail" (preferred) or "dialog" as well as "apt" installed. .SH "EXAMPLES" .TP debmany coreutils diff --git a/debmany/man/debmany.de.1 b/debmany/man/debmany.de.1 index 05cacf1..8b3009a 100644 --- a/debmany/man/debmany.de.1 +++ b/debmany/man/debmany.de.1 @@ -43,7 +43,7 @@ .PP Die Manpages werden temporär nach /tmp oder /var/tmp extrahiert. Durch das Setzen und Exportieren der Umgebungsvariable TMPDIR bzw. das Setzen als temporären Variable kann der Speicherort überschrieben werden. .PP -Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "curl" muss installiert sein. +Das Debian Paket "whiptail" (bevorzugt) oder "dialog" sowie "apt" muss installiert sein. .SH "BEISPIELE" .TP debmany coreutils