From dc900ac8d44e9c744dfb146075e89f3912d3af25 Mon Sep 17 00:00:00 2001 From: Marcus Stoegbauer Date: Mon, 14 Jan 2013 15:49:20 +0000 Subject: [PATCH] Nach install verschoben --- ucinst.sh | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100755 ucinst.sh diff --git a/ucinst.sh b/ucinst.sh deleted file mode 100755 index 7522d23..0000000 --- a/ucinst.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# $Id$ -# $URL$ - -# fixme: check svn -# fixme: check python - -BINSVNPATH=http://lys.is/svn/userconfig/trunk/python -COBINDIR=~/.tmp/userconfig -CONFSVNPATH=svn+ssh://lys.is/SVN/userconfig/trunk -COCONFDIR=~/.userconfig - -if [ -d "${COBINDIR}" ]; then - url=$(svn info "${COBINDIR}" 2>/dev/null | grep ^URL) - if [ "$url" = "URL: ${BINSVNPATH}" ]; then - svn update "${COBINDIR}" - else - count=1 - while [ -d "${COBINDIR}-${count}" ]; do - count=$(($count+1)) - done - mv "${COBINDIR}" "${COBINDIR}-${count}" || exit 1 - fi -fi - -svn checkout "${BINSVNPATH}" "${COBINDIR}" || exit 1 -cd "${COBINDIR}" || exit 1 -./setup.py install - -if [ -d "$COCONFDIR" ]; then - url=$(svn info "$COCONFDIR" 2>/dev/null | grep ^URL) - if [ "$url" = "URL: ${CONFSVNPATH}" ]; then - svn update ${COCONFDIR} - else - count=1 - while [ -d "${COCONFDIR}-${count}" ]; do - count=$(($count+1)) - done - mv "${COCONFDIR}" "${COCONFDIR}-${count}" || exit 1 - fi -fi - -svn checkout "${CONFSVNPATH}" "${COCONFDIR}" || exit 1 - -exit 0