mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
041aa2de55
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
10 lines
318 B
Bash
10 lines
318 B
Bash
#!/bin/sh
|
|
# A script to run Presentations.
|
|
ext="${@##*.}"
|
|
shopt -s nocasematch
|
|
case "$ext" in
|
|
"prs" ) /opt/smoffice2021/presentations -S\""$@"\";;
|
|
"pps" ) /opt/smoffice2021/presentations -S\""$@"\";;
|
|
"ppsx" ) /opt/smoffice2021/presentations -S\""$@"\";;
|
|
* ) /opt/smoffice2021/presentations "$@";;
|
|
esac
|