Skip to content

files created in ~/bin, even if another file of the same name already exists #22

Open

Description

@kevinwright

A prompt would be nice, or at least rename any existing files as a backup!

Activity

  1. n8han commented on Sep 11, 2011

    @n8han

    That's true. Mostly it does it for "easy" upgrades, but the case where it's replacing a completely different file instead of an older version of the same script is pretty nasty.

  2. kevinwright commented on Sep 11, 2011

    @kevinwright
    Author

    Guess what my case was :)

  3. n8han commented on Sep 11, 2011

    @n8han

    These cases could be differentiated by looking for .conscript/sbt-launch.jar in the file. If that's not found, refuse to replace and let the user sort it out.

  4. kevinwright commented on Sep 11, 2011

    @kevinwright
    Author

    I'd be happy for the existing file to be renamed, append .bak1, .bak2 etc to the name. Or some other scheme.

  5. eed3si9n commented on May 15, 2016

    @eed3si9n
    Member

    Conscripted scripts are now created under $CONSCRIPT_BIN (default ~/.conscript/bin/). Do we still need backup feature?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions