Check for files
This commit is contained in:
parent
b4a038b8c4
commit
04826948f0
|
@ -632,11 +632,11 @@ function setup_firewall {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_powerline {
|
function setup_powerline {
|
||||||
if [ -d ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ]; then
|
if [ -f ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ]; then
|
||||||
cp ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ~/.powerline.bash
|
cp ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ~/.powerline.bash
|
||||||
cp ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline /etc/skel/.powerline.bash
|
cp ~/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline /etc/skel/.powerline.bash
|
||||||
else
|
else
|
||||||
if [ -d /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ]; then
|
if [ -f /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ]; then
|
||||||
cp /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ~/.powerline.bash
|
cp /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline ~/.powerline.bash
|
||||||
cp /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline /etc/skel/.powerline.bash
|
cp /home/${MY_USERNAME}/${PROJECT_NAME}/src/${PROJECT_NAME}-powerline /etc/skel/.powerline.bash
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue