Commit 90ae3b16911591e239839b9c0083c6fb679caf5e
1 parent
f0de8aa9
Exists in
release
Creation of environment variables
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
dependencies/configure.sh
... | ... | @@ -68,3 +68,12 @@ if [[ $response =~ ^(yes|y| ) ]]; then |
68 | 68 | tar -xf unityVideo.tar.gz -C $HOME && echo -e ". $OK" || eval $ERROR |
69 | 69 | rm unityVideo.tar.gz |
70 | 70 | fi |
71 | + | |
72 | +echo -n "Creating environment variables... " | |
73 | +TEMP_ENV=$(mktemp) | |
74 | +echo "export VLIBRAS_VIDEO_CREATOR=$HOME/unityVideo/videoCreator.x86_64" > $TEMP_ENV | |
75 | +echo "export VLIBRAS_VIDEO_LIBRAS=$HOME/vlibras-contents/videos/libras" >> $TEMP_ENV | |
76 | +echo "export VLIBRAS_VIDEO_MIXED=$HOME/vlibras-contents/videos" >> $TEMP_ENV | |
77 | +sudo install -m 755 $TEMP_ENV -D /etc/profile.d/vlibras-video-env.sh && echo -e $OK || eval $ERROR | |
78 | +rm -f TEMP_ENV | |
79 | +echo -e "Restart the computer to finalize installation." | ... | ... |