diff options
author | midipix <writeonce@midipix.org> | 2020-09-25 16:55:30 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-09-25 16:56:23 +0000 |
commit | e9df40cb3f0a21d70525d77d65050d99e594ce78 (patch) | |
tree | f8436e43ee6e42e673a98a9b3f8eb77dbef4cd20 /once | |
parent | 8794af8a69b47ac8f66d3dda7ae176e0e9655f7a (diff) | |
download | mpackage-e9df40cb3f0a21d70525d77d65050d99e594ce78.tar.bz2 mpackage-e9df40cb3f0a21d70525d77d65050d99e594ce78.tar.xz |
once/get_updates.sh: obtain_remote_file(): properly handle Local Cache mode.
Diffstat (limited to 'once')
-rwxr-xr-x | once/get_updates.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/once/get_updates.sh b/once/get_updates.sh index e4903b4..a51fc9a 100755 --- a/once/get_updates.sh +++ b/once/get_updates.sh @@ -53,6 +53,9 @@ obtain_remote_file() pathname="$1" case "$mb_vendor" in + / ) + ;; + /* ) cp -p "${mb_vendor}/${pathname}" \ "${pathname}" |