Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Mahyuddin Susanto
# a long time ago we use this script to maintain http://mirror.unej.ac.id
mirror=mirror.unej.ac.id
root=debian
method=http
dist=oldstable,stable,unstable,testing,experimental,etch,lenny,squeeze,sid
seksi=main,contrib,non-free
arch=i386
#!/bin/bash
# building dvd repository for debian
# Mahyuddin Susanto <udienz@unej.ac.id>
# use ./dvd-repo-ubuntu.sh $ARCH
SRC=/ftp/debian/
BASE=`pwd`
#RELEASE=hardy
RELEASE="sid squeeze lenny experimental"
ARCH=$1
#!/bin/bash
# building dvd ubuntu release
# Mahyuddin Susanto <udienz@unej.ac.id>
# use ./dvd-repo-ubuntu.sh $ARCH $RELEASE
# example ./dvd-repo-ubuntu.sh i386 hardy
SRC=/ftp/ubuntu/
BASE=`pwd`
#RELEASE=hardy
RELEASE="$2"
#!/bin/bash
# building dvd repository update
# Mahyuddin Susanto <udienz@unej.ac.id>
# use ./dvd-repo-ubuntu.sh $ARCH
SRC=/ftp/ubuntu/
BASE=`pwd`
#RELEASE=hardy
RELEASE="dapper gutsy hardy intrepid"
ARCH=$1