scoop-backup icon indicating copy to clipboard operation
scoop-backup copied to clipboard

Feature request: Do not reinstall installed applications

Open satorope opened this issue 2 years ago • 2 comments

Currently, I mainly use Winget, supplemented by scoop for package management. And I install git and sudo (gsudo) from Winget.

winget install git.git -i

By doing this, you can choose to add a Git bash profile to the Windows terminal.

If git and sudo are installed, I would like the backup script to not include a script to install git and main/sudo from scoop.

satorope avatar Apr 30 '22 02:04 satorope

Interesting. Git is installed because it's a prerequisite to installing buckets. I wonder, is scoop's current behavior to not install git if it detects it's already installed via winget? Because otherwise, scoop would most likely not allow scoop-backup to add buckets without it, and if it's not currently implemented, part of this issue might need to be an issue on Scoop's repo instead.

On the topic of Sudo, the scoop version is not only useful for installing global packages, it's actually a hard requirement for some packages that have post-installation behavior that requires sudo (for example, madvr in the extras bucket). In this circumstance, I assume scoop will also install its version of sudo regardless of if you have installed it via Winget.

Given my uncertainty that scoop handles either of these situations gracefully at the moment, I think scoop needs to address these issues on its end before scoop-backup addresses them.

KNOXDEV avatar May 01 '22 18:05 KNOXDEV

Somewhat related because you mentioned it, I use Scoop's Git Bash with Windows Terminal as follows: image

KNOXDEV avatar May 01 '22 18:05 KNOXDEV