]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- drop unused macros
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Feb 2010 19:52:47 +0000 (19:52 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 13 Feb 2010 19:52:47 +0000 (19:52 +0000)
Changed files:
    shell/bashrc -> 1.15

shell/bashrc

index 6be714c044fd3abcab52702b4956fccdb4a837a5..9c48e06493cdcb4f6eeac5c76d93b03ab455e81d 100644 (file)
@@ -22,38 +22,6 @@ if [ "$FTPADM" = "glen" ]; then
        [ -f /usr/share/okas/bashrc ] && . /usr/share/okas/bashrc
 fi
 
-cp-kde-i18n() {
-       local sarch=$1
-       local info=$2
-
-       if [ -z "$sarch" -o ! -f "$info" ]; then
-               echo >&2 "Usage: cp-kde-i18n [SOURCE ARCH] [INFO FILE]"
-               return
-       fi
-       if [ $(grep -c "^file:$sarch:" "$info") = 0 ]; then
-               echo >&2 "cp-kde-i18n: $sarch doesn't look like arch that has packages built"
-               return
-       fi
-
-       for arch in amd64 alpha athlon i386 i586 i686 ppc sparc; do
-               if [ "$arch" = "$sarch" ]; then
-                       continue
-               fi
-               awk -F: -vsarch=$sarch '/^file:/ && $2 == sarch {print $3}' $info | xargs -ri cp -al ../../$sarch/RPMS/{} ../../$arch/RPMS
-               awk -F: -vsarch=$sarch -varch=$arch '/^file:/ && $2 == sarch {printf("%s:%s:%s\n", $1, arch, $3)}' $info >> $info
-       done
-}
-
-touchpkg() {
-       local pkg=$1
-       if [ ! -f $pkg ]; then
-               echo >&2 "touchpkg: Specify existing info file"
-               return
-       fi
-       awk -F: '/^file:/{arch=$2; file=$3; printf("../../%s/RPMS/%s\n", arch, file)}' "$@" | \
-       xargs -l512 -r touch
-}
-
 unlocktree() {
        for tree in "$@"; do
        (
This page took 0.129256 seconds and 4 git commands to generate.