Giter Site home page Giter Site logo

Comments (4)

logicminds avatar logicminds commented on August 20, 2024

the old boot2docker script was in /usr/bin/boot2docker the new file is in /usr/local/bin/boot2docker

also:

should be easy to determine if they are using the old script by using the file command or the fact that the boot2docker binary is now in a different location.

Coreys-MacBook-Pro-2:$file testscript
testscript: a bash script text executable
Coreys-MacBook-Pro-2:
$ which boot2docker
/usr/local/bin/boot2docker
Coreys-MacBook-Pro-2:~$ file /usr/local/bin/boot2docker
/usr/local/bin/boot2docker: Mach-O 64-bit executable x86_64

from osx-installer.

SvenDowideit avatar SvenDowideit commented on August 20, 2024

y, but how do you detect if the script was a totally different, hand coded script that the user wrote - especially when we released many different versions of the original boot2docker.sh

just because its a script doesn't mean its ours

from osx-installer.

logicminds avatar logicminds commented on August 20, 2024

I would prompt the user to ask if you can delete the file. Maybe detail the issue in the prompt.

from osx-installer.

tianon avatar tianon commented on August 20, 2024

We could accomplish this by collecting the md5sum of several (all?) the old
released script versions and only remove if the file we find matches one,
as one possible solution that's also reasonably simple and won't tread on
user-customized stuff.

from osx-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.