summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions
index e6defa8..5eab53e 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -639,6 +639,7 @@ CT_GetCustom() {
# so we can create a properly-named symlink, which
# we use later on in 'extract'
case "${custom_location}" in
+ *.tar.xz) custom_name="${custom_name}.tar.xz";;
*.tar.bz2) custom_name="${custom_name}.tar.bz2";;
*.tar.gz|*.tgz) custom_name="${custom_name}.tar.gz";;
*.tar) custom_name="${custom_name}.tar";;