Change default cache location
apt-get uses /var/cache to store downloaded files http://askubuntu.com/q/178806/where-do-packages-installed-with-apt-get-stored This makes sense with Cygwin as well because Cygwin already has a /var/cache which is almost empty to start, compared to /setup which does not exist outside of apt-cyg.
This commit is contained in:
parent
6a62641d94
commit
ec36e46faf
2
apt-cyg
2
apt-cyg
|
@ -75,7 +75,7 @@ function findworkspace()
|
||||||
{
|
{
|
||||||
# default working directory and mirror
|
# default working directory and mirror
|
||||||
mirror=http://mirrors.kernel.org/sourceware/cygwin
|
mirror=http://mirrors.kernel.org/sourceware/cygwin
|
||||||
cache=/setup
|
cache=/var/cache
|
||||||
|
|
||||||
# work wherever setup worked last, if possible
|
# work wherever setup worked last, if possible
|
||||||
if [ -e /etc/setup/last-cache ]
|
if [ -e /etc/setup/last-cache ]
|
||||||
|
|
Loading…
Reference in New Issue