Skip to content

Commit

Permalink
update add parameter --force to install
Browse files Browse the repository at this point in the history
  • Loading branch information
terroo committed Oct 10, 2020
1 parent 80eb56f commit 129973f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ git clone https://github.com/terroo/wallset down-wallset
cd down-wallset
sudo sh install.sh
```
# The installer says that a package is not installed, but are you sure it is?
Then force the installation with the parameter `--force`:
```sh
sudo sh install.sh --force
```

# Use
```sh
Expand Down
7 changes: 7 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ if [[ "$1" == "uninstall" ]]; then
exit 0
fi


if [[ "$1" == "--force" ]]; then
su root -c "cp wallset /usr/local/bin/ && chmod +x /usr/local/bin/wallset"
printf "%s\n" "${_lan[1]}"
exit 0
fi

deps=("ffmpeg" "feh" "convert" "xrandr" "xdg-open" "bash" "sed")


Expand Down

0 comments on commit 129973f

Please sign in to comment.