Skip to content

Commit

Permalink
Fixed autoupdate in "easy-update".
Browse files Browse the repository at this point in the history
  • Loading branch information
whitone committed Feb 4, 2008
1 parent 543dfc3 commit 7dab5d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cygwin-easy/usr/bin/easy-update
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ myself=${0##*/}
[ "$1" == "--help" ] && { show_help 2> /dev/null; exit $?; }
[ "$1" == "--version" ] && { show_version 2> /dev/null; echo 2> /dev/null; show_copyright 2> /dev/null; exit $?; }

[ "$self_dir" ] ||
self_dir=/usr/share/cygwin-easy

[ -e "$self_dir/autoupdate" ] &&
{
echo -e "Successfully updated to version $cygeasy_version.\n" 2> /dev/null;
Expand All @@ -498,8 +501,6 @@ myself=${0##*/}
[ -r /etc/$myself.conf ] &&
. /etc/$myself.conf &> /dev/null

[ "$self_dir" ] ||
self_dir=/usr/share/cygwin-easy
[ "$self_files" ] ||
self_files=("autorun.sh" "profile.patch")
[ "$readme_files" ] ||
Expand Down
Binary file modified cygwin/release/cygwin-easy/cygwin-easy-2.0.0-1.tar.bz2
Binary file not shown.
2 changes: 1 addition & 1 deletion cygwin/setup.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ldesc: "Essential tools for Cygwin Easy"
category: Utils
requires: bash coreutils findutils sed patch base-files cygutils curl gawk
version: 2.0.0-1
install: release/cygwin-easy/cygwin-easy-2.0.0-1.tar.bz2 10875 3af895ba7f3dc9cda3fbf8708b826d05
install: release/cygwin-easy/cygwin-easy-2.0.0-1.tar.bz2 8134 4e95ca9759333afbda5dfa07f7159119
[prev]
version: 1.0.0-1
install: release/cygwin-easy/cygwin-easy-1.0.0-1.tar.bz2 3048 75f79e919b675d94e83feee21309824b

0 comments on commit 7dab5d7

Please sign in to comment.