Opened 5 years ago
Closed 5 years ago
#1686 closed enhancement (fixed)
egg install scripts don't have to rm before install
Reported by: | Mario Domenech Goulart | Owned by: | |
---|---|---|---|
Priority: | not urgent at all | Milestone: | 5.3 |
Component: | core libraries | Version: | 5.2.0 |
Keywords: | install, rm, chicken-install | Cc: | |
Estimated difficulty: |
Description
Currently, chicken-install generates egg install scripts with the following pattern to install files:
rm -f ${DESTDIR}'<dest file>' install -m 755 '<orig file>' ${DESTDIR}'<dest file>'
install
already unlinks files before copying them, so the call to rm
doesn't seem to be necessary.
Change History (2)
comment:1 Changed 5 years ago by
comment:2 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks - I have pushed this patch. I was initially concerned about Windows platforms (which do not have install(1)), but on Windows either removal or overwrite is not allowed anyway, so nothing is list.
Note: See
TracTickets for help on using
tickets.
Maybe something like the following patch would improve things (only quickly tested with a single egg).