Update install script for portability.
This commit is contained in:
parent
1eed3d2036
commit
252cd10491
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ function do_stow() {
|
||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
DOTFILES_DIR="$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")"
|
DOTFILES_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
|
||||||
TARGET_DIR="$HOME"
|
TARGET_DIR="${HOME}"
|
||||||
|
|
||||||
if ! command -v stow &> /dev/null; then
|
if ! command -v stow &> /dev/null; then
|
||||||
echo "[!] Stow is not installed!"
|
echo "[!] Stow is not installed!"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue