Utils
This commit is contained in:
1 parent
0af725f4bf
commit
3f922615b4
2 files changed
+12
-1
No files matched your search
@@ -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