mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[x extractor] add option to unpack debian archives
This commit is contained in:
parent
e5184632b2
commit
720d083ddf
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ x() {
|
||||||
local extractor
|
local extractor
|
||||||
if [ -f "$zipfile" ]; then
|
if [ -f "$zipfile" ]; then
|
||||||
case "$zipfile" in
|
case "$zipfile" in
|
||||||
|
*.deb)
|
||||||
|
extractor="ar x" ;;
|
||||||
*.tar.lrz)
|
*.tar.lrz)
|
||||||
extractor="lrztar -d" ;;
|
extractor="lrztar -d" ;;
|
||||||
*.lrz)
|
*.lrz)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue