Merge pull request #6 from holgac/master

updated yum to dnf, made script executable
This commit is contained in:
Anodev 2020-04-25 02:48:03 +10:00 committed by GitHub
commit f86d9d448f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -14,5 +14,4 @@ They **aren't** work!
If you do not know the source language, then put the value `auto` in place of `<source_lng> `
### Install
- Clone repository via `git clone https://github.com/OPHoperHPO/GT-bash-client`
- Set permission via `chmod +x ./GT-bash-client/translate.sh `
- Check script via `./GT-bash-client/translate.sh en es Hello`

2
translate.sh Normal file → Executable file
View File

@ -19,7 +19,7 @@ then
echo -e "To run this script, you need install 'curl'"
echo -e "To install curl run this command:
'sudo pacman -S curl' # For Arch Linux based distro
'sudo yum install curl' # For Fedora/Red Hat Enterprise Linux etc
'sudo dnf install curl' # For Fedora/Red Hat Enterprise Linux etc
'sudo apt install curl' #For Debian-based distro like Ubuntu, Debian, etc "
exit 1
fi