mirror of
https://github.com/helixarch/debtap
synced 2024-11-22 02:10:26 +01:00
Update debtap
This commit is contained in:
parent
4daa9a1c4d
commit
88bdbe8728
2
debtap
2
debtap
|
@ -41,7 +41,7 @@ elif [[ "$1" == "-u" ]] || [[ "$1" = "--u" ]] || [[ "$1" == "-update" ]] || [[ "
|
||||||
_arch=amd64
|
_arch=amd64
|
||||||
fi
|
fi
|
||||||
ubuntu_latest_development_version=`curl -s http://packages.ubuntu.com | grep option | gawk -F '=' '{print $2}' | gawk '{print $1}' | grep -v option | tac | sed -n 2'{p;q;}' | sed s'/\("\|-updated\|-backports\)//g'`
|
ubuntu_latest_development_version=`curl -s http://packages.ubuntu.com | grep option | gawk -F '=' '{print $2}' | gawk '{print $1}' | grep -v option | tac | sed -n 2'{p;q;}' | sed s'/\("\|-updated\|-backports\)//g'`
|
||||||
curl -C - -f http://ftp.debian.org/debian/dists/sid/Contents-$_arch.gz > /var/cache/debtap/debian-packages-files.gz
|
curl -C - -f http://ftp.debian.org/debian/dists/sid/main/Contents-$_arch.gz > /var/cache/debtap/debian-packages-files.gz
|
||||||
gzip -df /var/cache/debtap/debian-packages-files.gz
|
gzip -df /var/cache/debtap/debian-packages-files.gz
|
||||||
curl -C - -f http://archive.ubuntu.com/ubuntu/dists/$ubuntu_latest_development_version/Contents-$_arch.gz > /var/cache/debtap/ubuntu-packages-files.gz
|
curl -C - -f http://archive.ubuntu.com/ubuntu/dists/$ubuntu_latest_development_version/Contents-$_arch.gz > /var/cache/debtap/ubuntu-packages-files.gz
|
||||||
gzip -df /var/cache/debtap/ubuntu-packages-files.gz
|
gzip -df /var/cache/debtap/ubuntu-packages-files.gz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user