Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# HW_scripts
#
1 change: 1 addition & 0 deletions bash2_check.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#
#!/bin/bash
#
echo "*****************************************************************************"
Expand Down
2 changes: 1 addition & 1 deletion bash2_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
yum list | grep mariadb
#yum list | grep mariadb
if [ $? == 1 ]
then
cat <<EOT >> /etc/yum.repos.d/MariaDB.repo
Expand Down
3 changes: 1 addition & 2 deletions py2_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
import os
os.system("yum -y install mariadb")
os.system("mysql -u root")
# os.system("yum -y install mariadb && mysql -u root")
# якщо 1 ок тоді викон 2