diff options
author | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
commit | 2462d03f322261bd616721c2b2065c4004b36c9c (patch) | |
tree | 239947a0737bb8386703a1497f12c09aebd3080a /fbreader/scripts/install_config.sh | |
download | tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip |
Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6).
The Debian code is provided under GPL2 license.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'fbreader/scripts/install_config.sh')
-rwxr-xr-x | fbreader/scripts/install_config.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fbreader/scripts/install_config.sh b/fbreader/scripts/install_config.sh new file mode 100755 index 0000000..902ee0d --- /dev/null +++ b/fbreader/scripts/install_config.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +if [ $# != 3 ]; then + echo -e "usage\n $0 <platform> <ui_type> <install_dir>"; + exit 0; +fi; + +case "$1" in + desktop|win32) + ;; + macosx) + ;; + maemo) + case "$2" in + maemo5) + config_file=data/default/config.maemo5.xml + ;; + *) + config_file=data/default/config.maemo.xml + ;; + esac; + ;; + pepperpad3) + ;; + zaurus_640x480) + ;; + *) + ;; +esac; + +if [ "$config_file" != "" ]; then + install -m 0644 $config_file $3/config.xml; +fi; |