diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-28 21:23:49 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-28 21:23:49 -0500 |
commit | 207a930a564e8157e24c3e7f5fbe987494b73d7b (patch) | |
tree | 29850fa85c7ea9525dbc4ae9469a268115d8e73e /toru | |
parent | 6633c1d07a2b408dd74ad909326a54f94b2fdfdf (diff) |
* Cleanup code + arch specific separated
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 } |