SlackBuildsOrg/office/smoffice2018/presentations18
Alexander Verbovetsky 9fa8fb9e6f office/smoffice2018: Added (office suite).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-03-17 08:51:49 +07:00

10 lines
318 B
Bash

#!/bin/sh
# A script to run Presentations.
ext="${@##*.}"
shopt -s nocasematch
case "$ext" in
"prs" ) /opt/smoffice2018/presentations -S\""$@"\";;
"pps" ) /opt/smoffice2018/presentations -S\""$@"\";;
"ppsx" ) /opt/smoffice2018/presentations -S\""$@"\";;
* ) /opt/smoffice2018/presentations "$@";;
esac