diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-06-30 18:14:15 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-06-30 18:14:15 -0300 |
commit | 8a385be009f51b1af2cd8fd82c08b6b7c2c7f8b0 (patch) | |
tree | 72e58e38d91827b9a2d116406a26bd894122d91f /toru | |
parent | 8dff8b1deac0bd4a832e1dee0173e79c55ab4301 (diff) | |
parent | 207a930a564e8157e24c3e7f5fbe987494b73d7b (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Diffstat (limited to 'toru')
-rwxr-xr-x | toru | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,4 +1,4 @@ - #!/bin/bash +#!/bin/bash # Queries the ABS # License: GPL3 @@ -16,12 +16,6 @@ source /etc/abs.conf source /etc/libretools.conf -#[ ! -w / ] && { -# error "This script must be run as root." -# exit 1 -#} - - # Stores the lastsync date lastsync() { [ -e ${lastsyncfile} -a ! -w ${lastsyncfile} ] && { @@ -46,7 +40,7 @@ fi } -# Outputs an ordered package-fullpkgver array +# Outputs an ordered package-fullpkgver array print_package_array() { echo "$@" | tr " " "\n" | sort -V -u } |