Skip to content

Commit aa79ae3

Browse files
committed
script: Rename metadata loading fnc
1 parent 60563cd commit aa79ae3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lucidglyph.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ EOF
263263
}
264264

265265
# Process the local metadata files, loading the values.
266-
load_metadata_files () {
266+
load_metadata () {
267267
[[ ! -z $DISABLE_METADATA ]] && return 0
268268

269269
# Load the legacy metadata format (before 0.13.0)
@@ -498,7 +498,8 @@ ENVIRONMENT VARIABLES - UTILITY:
498498
SHOW_HEADER Show the script header on execution.
499499
Default: true.
500500
501-
DESTDIR Overwrite the target directory for the script to work with.
501+
DESTDIR Relocate the whole installation by prepending the path from
502+
this variable.
502503
Default: unset.
503504
504505
DEST_CONF, Set the paths to configuration directories.
@@ -513,7 +514,7 @@ EOF
513514

514515
cmd_install () {
515516
check_root
516-
load_metadata_files
517+
load_metadata
517518
mod_blacklist_init
518519
mod_blacklist_checkup
519520

@@ -557,7 +558,7 @@ cmd_remove () {
557558
exit 1
558559
fi
559560

560-
load_metadata_files
561+
load_metadata
561562

562563
if [[ -z "$G_M_VERSION" ]]; then
563564
printf "${C_RED}Error:${C_RESET} Project is not installed.\n" >&2

0 commit comments

Comments
 (0)