Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7703] Broken tarball during sorcery system-update might render sorcery unusable

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7703] Broken tarball during sorcery system-update might render sorcery unusable
  • Date: Wed, 24 Nov 2004 11:27:47 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=7703





------- Additional Comments From acedit AT armory.com 2004-11-24 11:27 -------
This is the update script, it uses some variables which never get defined
because it never sources the config file...I'll fix that.

cat << EOF > $RESTORE_SCRIPT
#!/bin/bash
############################################################
# This helper script /tmp/sorcery.restore can #
# be run to restore the sorcery scripts if they #
# are lost during a sorcery update. #
############################################################

echo "Restoring the sorcery scripts, please wait ..."

SORCERY_SPOOL=${SOURCE_CACHE}
SORCERY_BRANCH=${SORCERY_BRANCH}

if [ -n $1 ]; then
SORCERY_BRANCH=$1
fi

if cd /tmp &&
bunzip2 -c $SORCERY_SPOOL/sorcery-$SORCERY_BRANCH.tar.bz2 | tar xf - &&
cd sorcery &&
./install; then
rm -rf /tmp/sorcery
echo "Sorcery was successfully restored."
else
echo "Unable to restore sorcery. Try running this file with"
echo "the name of the branch you had previously installed as"
echo "the command-line parameter: (e.g. stable, or devel)."
echo
echo "For more help, see the Source Mage website "
echo "(http://www.sourcemage.org/)."
fi

EOF




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page