index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Thomas Bächler <thomas@archlinux.org> | 2010-08-07 12:47:59 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-08 10:24:24 -0500 |
commit | 815557118318779f784e82a39497f46dde32845d (patch) | |
tree | f1e6dd7c8be3bcd7f503eedb907741c27b9807ad | |
parent | e7d5803f07c11882685e2a65b5638fd385804d22 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 3 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 32528b02..1b788efd 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1031,6 +1031,7 @@ create_package() { *tar.gz) EXT=${PKGEXT%.gz} ;; *tar.bz2) EXT=${PKGEXT%.bz2} ;; *tar.xz) EXT=${PKGEXT%.xz} ;; + *tar) EXT=${PKGEXT} ;; *) warning "$(gettext "'%s' is not a valid archive extension.")" \ "$PKGEXT" ; EXT=$PKGEXT ;; esac @@ -1050,6 +1051,7 @@ create_package() { *tar.gz) gzip -f -n "$tar_file" ;; *tar.bz2) bzip2 -f "$tar_file" ;; *tar.xz) xz -z -f "$tar_file" ;; + *tar) true ;; esac ret=$? fi @@ -1125,6 +1127,7 @@ create_srcpackage() { *tar.gz) TAR_OPT="z" ;; *tar.bz2) TAR_OPT="j" ;; *tar.xz) TAR_OPT="J" ;; + *tar) TAR_OPT="" ;; *) warning "$(gettext "'%s' is not a valid archive extension.")" \ "$SRCEXT" ;; esac |