aboutsummaryrefslogtreecommitdiff
path: root/branches/0.6/src/repos
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:03:53 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 02:03:53 +0000
commit52a3537b8ebca3a5146cf363ffa6d716f2b00da0 (patch)
treeba684cac72fd8e2147f13d7c27d5a61d6133a444 /branches/0.6/src/repos
parentf93c3531707ac292b2d43f00c9a600d1ecdbb76d (diff)
downloadsimplepkg-52a3537b8ebca3a5146cf363ffa6d716f2b00da0.tar.gz
simplepkg-52a3537b8ebca3a5146cf363ffa6d716f2b00da0.tar.bz2
removing old 0.6 branch
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@798 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'branches/0.6/src/repos')
-rwxr-xr-xbranches/0.6/src/repos87
1 files changed, 0 insertions, 87 deletions
diff --git a/branches/0.6/src/repos b/branches/0.6/src/repos
deleted file mode 100755
index e4a17ee..0000000
--- a/branches/0.6/src/repos
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-#
-# repos script got from
-# http://software.jaos.org/BUILD/slapt-get/FAQ.html#slgFAQ17
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# any later version.
-#
-# Changes by rhatto at riseup.net to fit http://slack.sarava.org needs
-#
-
-BASENAME="`basename $0`"
-REPOS_CONF="/etc/simplepkg/repos.conf"
-COMMON="/usr/libexec/simplepkg/common.sh"
-
-if [ -f "$COMMON" ]; then
- source $COMMON
-else
- echo "error: file $COMMON found, check your $BASENAME installation"
- exit 1
-fi
-
-function usage {
-
- echo "`basename $0` [pkg [file]|all|new|svnmeta|PACKAGESTXT|FILELIST|MD5]"
-
-}
-
-function do_all {
-
- for pkg in `find . -type f -name '*.tgz' -print`; do
- gen_meta $pkg
- done
- $0 PACKAGESTXT
- $0 FILELIST
- $0 MD5
-
-}
-
-# ---------------------------------
-# main
-# ---------------------------------
-
-case "$1" in
- pkg)
- if [ -n "$2" ]; then
- gen_meta $2
- else
- usage
- fi
- ;;
- all)
- do_all
- ;;
- new)
- for pkg in `find . -type f -name '*.tgz' -print`; do
- if [ ! -f ${pkg%tgz}meta ]; then
- gen_meta $pkg
- fi
- done
- ;;
- svnmeta)
- svn_add_meta
- ;;
- PACKAGESTXT)
- gen_packages_txt .
- gen_packages_txt patches
- ;;
- FILELIST)
- gen_filelist
- gen_patches_filelist patches
- ;;
- MD5)
- gen_md5_checksums .
- gen_md5_checksums patches
- ;;
- usage)
- usage
- ;;
- *)
- do_all
- svn_add_meta
- ;;
-esac
-