Skip to content
Snippets Groups Projects
Select Git revision
  • ea0b541a95d0f039cfabd43cc293f95b6325e46f
  • master default
  • lip-21w
3 results

create_offline_repo.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    create_offline_repo.sh 836 B
    #!/bin/bash
    PKG_LIST="python-numpy python-simpy python-scipy python-matplotlib ipython python-dev gnuplot wxmaxima kmplot network-manager-vpnc-gnome openssh-server linux-firmware-nonfree swi-prolog fish get-flash-videos gnome haskell-platform java7-jdk imagemagick rxvt-unicode vim zsh zsh-doc texmaker gimp pidgin smplayer subversion git lftp inkscape"
    DESTINATION="/isodevice"
    PKG_DESTINATION=$DESTINATION/archives
    
    #begin
    echo "creating structure..."
    mkdir -p $PKG_DESTINATION/
    echo "done."
    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 $(apt-get -o APT::Architecture=$ARCHITECTURE install --reinstall --allow-unauthenticated --print-uris -qq $PKG_LIST | cut -d"'" -f2)
    echo "done."
    
    #end.