Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. case "$choice" in
  2.         '1'*)
  3.         ;;
  4.         '2'*)
  5.         ;;
  6.         '3'*) exit ;
  7.         '4'*) if [[ $directory ]];
  8.             then
  9.                 7z x $filename -o$directory
  10.                 draw_unpackSuccess
  11.                 directory=
  12.                 filename=
  13.             else
  14.                 7z x $filename
  15.                 draw_unpackSuccess
  16.                 directory=
  17.                 filename=
  18.             fi
  19.         ;;
  20.         *) echo "Unknown option: $choice";;
  21.     esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement