summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-09-25 16:55:30 +0000
committermidipix <writeonce@midipix.org>2020-09-25 16:56:23 +0000
commite9df40cb3f0a21d70525d77d65050d99e594ce78 (patch)
treef8436e43ee6e42e673a98a9b3f8eb77dbef4cd20 /once
parent8794af8a69b47ac8f66d3dda7ae176e0e9655f7a (diff)
downloadmpackage-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-xonce/get_updates.sh3
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}"