| skipped 51 lines |
52 | 52 | | #cli help: |
53 | 53 | | if [ "$help" = true ]; then |
54 | 54 | | #elif [ "$1" == "--HELP" ] || [ "$1" == "--help" ]; then |
55 | | - | python3 "${PREFIX}/share/hiphp.py" --HELP; |
| 55 | + | python3 "${PREFIX}/share/hiphp/hiphp.py" --HELP; |
56 | 56 | | |
57 | 57 | | #hiphp_desktop: |
58 | 58 | | elif [ "$dst" = true ]; then |
59 | 59 | | #elif [ "$1" == "--DST" ] || [ "$1" == "--dst" ]; then |
60 | | - | python3 "${PREFIX}/share/hiphp.py" --DST; |
| 60 | + | python3 "${PREFIX}/share/hiphp/hiphp.py" --DST; |
61 | 61 | | |
62 | 62 | | #version: |
63 | 63 | | elif [ "$version" = true ]; then |
64 | 64 | | #elif [ "$1" == "--VERSION" ] || [ "$1" == "--version" ]; then |
65 | | - | python3 "${PREFIX}/share/hiphp.py" --VERSION; |
| 65 | + | python3 "${PREFIX}/share/hiphp/hiphp.py" --VERSION; |
66 | 66 | | |
67 | 67 | | elif [ "$geth" = true ]; then |
68 | 68 | | if [ -n "$key" ] || [ -n "$url" ]; then |
69 | | - | python3 "${PREFIX}/share/hiphp.py" --GETH --KEY=$2 --URL=$3; |
| 69 | + | python3 "${PREFIX}/share/hiphp/hiphp.py" --GETH --KEY=$2 --URL=$3; |
70 | 70 | | else |
71 | 71 | | echo "At least one variable is empty" |
72 | 72 | | fi |
| skipped 1 lines |
74 | 74 | | #help: |
75 | 75 | | else |
76 | 76 | | if [ -n "$url" ] && [ -n "$key" ]; then |
77 | | - | python3 "${PREFIX}/share/hiphp.py" --KEY=$key --URL=$url; |
| 77 | + | python3 "${PREFIX}/share/hiphp/hiphp.py" --KEY=$key --URL=$url; |
78 | 78 | | else |
79 | | - | python3 "${PREFIX}/share/hiphp/hiphplogo.py" "ok_view"; |
| 79 | + | python3 "${PREFIX}/share/hiphp/hiphp/hiphplogo.py" "ok_view"; |
80 | 80 | | echo "Usage: hiphp [OPTION]"; |
81 | 81 | | echo ""; |
82 | 82 | | echo "Examples:"; |
| skipped 9 lines |