From 2462d03f322261bd616721c2b2065c4004b36c9c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 11 May 2024 21:28:48 +0900 Subject: 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 --- fbreader/scripts/install_config.sh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 fbreader/scripts/install_config.sh (limited to 'fbreader/scripts/install_config.sh') 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 "; + 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; -- cgit v1.2.1