mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Immediately quits installation if "Permission denied" error encountered.
This commit is contained in:
parent
b9903f1269
commit
9b6fad8556
28
install.sh
28
install.sh
@ -198,20 +198,20 @@ if [[ $dry_run ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# INSTALL AUTOJUMP
|
# INSTALL AUTOJUMP
|
||||||
mkdir -p ${destdir}${prefix}share/autojump/
|
mkdir -p ${destdir}${prefix}share/autojump/ || exit 1
|
||||||
mkdir -p ${destdir}${prefix}bin/
|
mkdir -p ${destdir}${prefix}bin/ || exit 1
|
||||||
mkdir -p ${destdir}${prefix}share/man/man1/
|
mkdir -p ${destdir}${prefix}share/man/man1/ || exit 1
|
||||||
cp -v ./bin/icon.png ${destdir}${prefix}share/autojump/
|
cp -v ./bin/icon.png ${destdir}${prefix}share/autojump/ || exit 1
|
||||||
cp -v ./bin/jumpapplet ${destdir}${prefix}bin/
|
cp -v ./bin/jumpapplet ${destdir}${prefix}bin/ || exit 1
|
||||||
cp -v ./bin/autojump ${destdir}${prefix}bin/
|
cp -v ./bin/autojump ${destdir}${prefix}bin/ || exit 1
|
||||||
cp -v ./bin/autojump_argparse.py ${destdir}${prefix}bin/
|
cp -v ./bin/autojump_argparse.py ${destdir}${prefix}bin/ || exit 1
|
||||||
cp -v ./docs/autojump.1 ${destdir}${prefix}share/man/man1/
|
cp -v ./docs/autojump.1 ${destdir}${prefix}share/man/man1/ || exit 1
|
||||||
mkdir -p ${destdir}etc/profile.d/
|
mkdir -p ${destdir}etc/profile.d/ || exit 1
|
||||||
cp -v ./bin/autojump.sh ${destdir}etc/profile.d/
|
cp -v ./bin/autojump.sh ${destdir}etc/profile.d/ || exit 1
|
||||||
cp -v ./bin/autojump.bash ${destdir}etc/profile.d/
|
cp -v ./bin/autojump.bash ${destdir}etc/profile.d/ || exit 1
|
||||||
cp -v ./bin/autojump.zsh ${destdir}etc/profile.d/
|
cp -v ./bin/autojump.zsh ${destdir}etc/profile.d/ || exit 1
|
||||||
mkdir -p ${destdir}${zshsharedir}
|
mkdir -p ${destdir}${zshsharedir} || exit 1
|
||||||
install -v -m 0755 ./bin/_j ${destdir}${zshsharedir}
|
install -v -m 0755 ./bin/_j ${destdir}${zshsharedir} || exit 1
|
||||||
|
|
||||||
# DISPLAY ADD MESSAGE
|
# DISPLAY ADD MESSAGE
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user