Changeset 7783f97 in OpenWorkouts-current for bin


Ignore:
Timestamp:
Jan 25, 2019, 12:19:15 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
4bab6c1
Parents:
5bdfbfb
Message:

Modified the install script, added a function to ensure all shell scripts

have proper permissions after installing OpenWorkouts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/install

    r5bdfbfb r7783f97  
    1010# Full path to the env
    1111env_path=${current}/env
     12
     13
     14set_scripts_permissions() {
     15    # ensure the shell scripts we will need have proper permissions
     16    chmod u+x ${current}/bin/js_deps
     17    chmod u+x ${current}/bin/start
     18    chmod u+x ${current}/bin/screenshot_map
     19}
    1220
    1321check_python3() {
     
    5563
    5664install_js_deps() {
    57     chmod +x ${current}/bin/js_deps
    5865    ${current}/bin/js_deps
    5966}
    6067
    6168setup_start_stop() {
    62     chmod +x ${current}/bin/start
    6369    echo "OpenWorkouts successfully installed in ${env_path}"
    6470    echo ""
     
    7379}
    7480
     81set_script_permissions
    7582check_python3
    7683create_venv
Note: See TracChangeset for help on using the changeset viewer.