Changing warning message
This commit is contained in:
parent
3069437cc2
commit
d5c6e37a10
1 changed files with 7 additions and 6 deletions
9
configure
vendored
9
configure
vendored
|
@ -1,12 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#shopt -s extglob # For REGEXP
|
|
||||||
|
|
||||||
[[ $PWD == /home/$USER/dotfiles ]] || \
|
# This scripts installs user configuration by linking it in your home
|
||||||
|
# directory. It goes a little further when needed.
|
||||||
|
|
||||||
|
[[ $PWD == /home/$USER/dotfiles ]] ||
|
||||||
echo "!!! WE'RE NOT IN >>>/home/$USER/dotfile/<<< !!!"
|
echo "!!! WE'RE NOT IN >>>/home/$USER/dotfile/<<< !!!"
|
||||||
|
|
||||||
if [[ -z $1 ]]
|
if [[ -z $1 ]]
|
||||||
then
|
then
|
||||||
echo "Usage: $0 <program name> "
|
echo "Usage: $(basename $0) <program name> "
|
||||||
echo " "
|
echo " "
|
||||||
echo "Give a program name and it will install its configuration. There are "
|
echo "Give a program name and it will install its configuration. There are "
|
||||||
echo "available configurations for: "
|
echo "available configurations for: "
|
||||||
|
@ -26,4 +28,3 @@ case $1 in
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue