Skip to content

Instantly share code, notes, and snippets.

@rpavlik
Created November 15, 2012 22:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpavlik/4081948 to your computer and use it in GitHub Desktop.
Save rpavlik/4081948 to your computer and use it in GitHub Desktop.
Updater/package manager scripts for Cygwin
/setup.exe
/Cygwin.bat
/Cygwin.ico
/Cygwin-Terminal.ico
/packages/
/bin/
/cygdrive/
/dev/
/etc/
/home/
/lib/
/tmp/
/usr/
/var/
cd /d "%~dp0"
updater\wget.exe --timestamping http://cygwin.com/setup.exe
setup ^
--package-manager ^
--no-desktop ^
--only-site ^
--site ftp://lug.mtu.edu/cygwin/ ^
--local-package-dir "%~dp0packages" ^
--root "%~dp0"
cd /d "%~dp0"
updater\wget.exe --timestamping http://cygwin.com/setup.exe
setup ^
--quiet-mode ^
--no-desktop ^
--only-site ^
--site ftp://lug.mtu.edu/cygwin/ ^
--local-package-dir "%~dp0packages" ^
--root "%~dp0"
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

@rpavlik
Copy link
Author

rpavlik commented Nov 15, 2012

Understandably, both require a small amount of customization (changing paths) as well as wget.exe in the updater directory. These are intended to be placed in the cygwin directory.

@rpavlik
Copy link
Author

rpavlik commented Feb 11, 2013

This has been obsoleted by https://github.com/rpavlik/cygwin-installer-updater - apparently now GitHub doesn't like subdirectories in Gists since the re-launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment