Last change
on this file since 37375 was 37374, checked in by davidb, 9 months ago |
First cut at files to get things going
|
File size:
588 bytes
|
Line | |
---|
1 |
|
---|
2 | package_name="RClone"
|
---|
3 | installed_dir=rclone-all
|
---|
4 |
|
---|
5 | full_installed_dir="$PWD/$installed_dir"
|
---|
6 |
|
---|
7 | OS_ALLCAPS=`uname | tr 'a-z' 'A-Z'`
|
---|
8 |
|
---|
9 | if test ! -d "$full_installed_dir" ; then
|
---|
10 | echo "" >&2
|
---|
11 | echo "In seting up $package_name, did not find directory:" >&2
|
---|
12 | echo " $full_installed_dir" >&2
|
---|
13 | echo "" >&2
|
---|
14 | echo "Have you run ./PREPARE-${OS_ALLCAPS}.sh?" >&2
|
---|
15 | echo "Exiting..." >&2
|
---|
16 | echo "" >&2
|
---|
17 | return
|
---|
18 | fi
|
---|
19 |
|
---|
20 | RCLONE_HOME="$full_installed_dir" ; export RCLONE_HOME
|
---|
21 | PATH="$RCLONE_HOME/$installed_dir:$PATH" ; export PATH
|
---|
22 |
|
---|
23 | echo + "Set RCLONE_HOME and updated PATH"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.