ydbinstall options --linkexec and --linkenv update existing links
Final Release Note
The --linkexec
and --linkenv
options of the ydbinstall
/ ydbinstall.sh
script correctly update existing links to point to the newly installed YottaDB. Previously, while the script would create the links if none existed, it would not update existing links. [#880 (closed)]
Description
This was /usr/local/etc/
both before and after I ran sudo ./ydbinstall --verbose --octo --encplugin --utf8 default --installdir /usr/local/lib/yottadb/r135_$(date +%Y%m%d)-1 --linkenv /usr/local/etc/ --linkexec /usr/local/bin
$ ls -l /usr/local/etc/
total 0
lrwxrwxrwx 1 root root 13 Mar 1 15:32 gtmprofile -> ./ydb_env_set
lrwxrwxrwx 1 root root 39 Apr 12 15:51 ydb_env_set -> /usr/local/lib/yottadb/r135/ydb_env_set
lrwxrwxrwx 1 root root 41 Apr 12 15:51 ydb_env_unset -> /usr/local/lib/yottadb/r135/ydb_env_unset
$
In other words the --linkenv
option of ydbinstall
did not update the symbolic links. Note that YDB was installed correctly.
$ pkg-config --variable=prefix yottadb
/usr/local/lib/yottadb/r135_20220602-1
$
Similarly, the --linkexec
option did not update links in /usr/local/bin.
Draft Release Note
The --linkexec
and --linkenv
options of the ydbinstall
/ ydbinstall.sh
script correctly update existing links to point to the newly installed YottaDB. Previously, while the script would create the links if none existed, it would not update existing links. [#880 (closed)]