Skip to content
Snippets Groups Projects
Commit d3c488bd authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

Offline Repo: support for manual urls

parent bf55d0a5
No related branches found
No related tags found
No related merge requests found
#singular
ftp://jim.mathematik.uni-kl.de/repo/ubuntu14/pool/main/s/singular/singular_4.0.2-1_amd64.deb
ftp://jim.mathematik.uni-kl.de/repo/ubuntu14/pool/main/s/singular/singular-common_4.0.2-1_all.deb
ftp://jim.mathematik.uni-kl.de/repo/ubuntu14/pool/main/s/singular/singular-bin_4.0.2-1_amd64.deb
#mainline kernel
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc2-vivid/linux-image-4.0.0-040000rc2-generic_4.0.0-040000rc2.201503031836_amd64.deb
......@@ -56,8 +56,12 @@ echo "Updating package lists..."
apt-get update
echo "ok."
echo "hey apt - which packages do we need (and where do we get them)?"
PKG_URLS=$(apt-get install --reinstall --print-uris -qq $PKG_LIST | cut -d"'" -f2)
PKG_URLS=$PKG_URLS $(get_packages_from_file "$CONTRIB_DIR/offline_repo_packages.manualurls")
echo "downloading archives. this may take some time..."
wget -nc -P $PKG_DESTINATION $(apt-get install --reinstall --print-uris -qq $PKG_LIST | cut -d"'" -f2)
wget -nc -P $PKG_DESTINATION $PKG_URLS
#wget -nc -P $PKG_DESTINATION $(apt-get -o APT::Architecture=$ARCHITECTURE install --reinstall --allow-unauthenticated --print-uris -qq $PKG_LIST | cut -d"'" -f2)
revert_initctl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment