Utils
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ -f ~/.bash_profile ];
|
||||
then
|
||||
echo "bash_profile exist"
|
||||
else
|
||||
echo "make link bash_profile"
|
||||
ln -s ~/.profile ~/.bash_profile
|
||||
fi
|
||||
@@ -11,7 +11,10 @@ function option_value() {
|
||||
}
|
||||
|
||||
function install() {
|
||||
ln -s ~/.profile ~/.bash_profile
|
||||
if [ -f ~/.bash_profile ]; then
|
||||
ln -s ~/.profile ~/.bash_profile
|
||||
fi
|
||||
|
||||
cd
|
||||
if ! docker --version; then
|
||||
echo -e "${C_LGn}Docker installation...${RES}"
|
||||
|
||||
Reference in New Issue
Block a user