2000-04-30 21:22:00 +00:00
|
|
|
--- sapphire.inst.orig Tue Feb 22 08:30:53 2000
|
|
|
|
+++ sapphire.inst Fri Mar 24 03:27:02 2000
|
2000-02-21 16:57:04 +00:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!/bin/sh
|
|
|
|
#
|
2000-04-30 21:22:00 +00:00
|
|
|
# Sapphire 0.14.1
|
2000-02-21 16:57:04 +00:00
|
|
|
#
|
2000-04-30 21:22:00 +00:00
|
|
|
@@ -9,6 +9,8 @@
|
|
|
|
# 21 Feb 2000 at 18:10
|
2000-02-21 16:57:04 +00:00
|
|
|
# frankhale@yahoo.com
|
|
|
|
#
|
2000-04-30 21:22:00 +00:00
|
|
|
+DATADIR=%%PREFIX%%/share/sapphire
|
|
|
|
+
|
2000-02-21 16:57:04 +00:00
|
|
|
if [ -d ~/.sapphire ]
|
|
|
|
then
|
2000-04-30 21:22:00 +00:00
|
|
|
echo "~/.sapphire directory exists";
|
|
|
|
@@ -21,12 +23,12 @@
|
|
|
|
if [ -d ~/.sapphire/themes ]
|
|
|
|
then
|
|
|
|
echo "~/.sapphire/themes directory exists, copying themes there";
|
2000-02-21 16:57:04 +00:00
|
|
|
- cp data/themes/* ~/.sapphire/themes
|
2000-04-30 21:22:00 +00:00
|
|
|
+ cp -pPR $DATADIR/themes/* ~/.sapphire/themes
|
|
|
|
else
|
|
|
|
mkdir ~/.sapphire/themes
|
|
|
|
echo "created directory ~/.sapphire/themes";
|
2000-02-21 16:57:04 +00:00
|
|
|
|
2000-04-30 21:22:00 +00:00
|
|
|
- cp data/themes/* ~/.sapphire/themes
|
|
|
|
+ cp -pPR $DATADIR/themes/* ~/.sapphire/themes
|
|
|
|
echo "themes were copied to ~/.sapphire/themes";
|
|
|
|
fi
|
2000-02-21 16:57:04 +00:00
|
|
|
|
2000-04-30 21:22:00 +00:00
|
|
|
@@ -34,12 +36,12 @@
|
|
|
|
if [ -d ~/.sapphire/menu ]
|
|
|
|
then
|
|
|
|
echo "~/.sapphire/menu directory exists, copying menu files there";
|
2000-02-21 16:57:04 +00:00
|
|
|
- cp data/menu/* ~/.sapphire/menu
|
|
|
|
+ cp $DATADIR/menu/* ~/.sapphire/menu
|
2000-04-30 21:22:00 +00:00
|
|
|
else
|
|
|
|
mkdir ~/.sapphire/menu
|
|
|
|
echo "created directory ~/.sapphire/menu";
|
2000-02-21 16:57:04 +00:00
|
|
|
|
2000-04-30 21:22:00 +00:00
|
|
|
- cp data/menu/* ~/.sapphire/menu
|
|
|
|
+ cp $DATADIR/menu/* ~/.sapphire/menu
|
|
|
|
echo "menu files were copied to ~/.sapphire/menu";
|
|
|
|
fi
|
2000-02-21 16:57:04 +00:00
|
|
|
|
2000-04-30 21:22:00 +00:00
|
|
|
@@ -47,12 +49,12 @@
|
|
|
|
if [ -d ~/.sapphire/wmconfig ]
|
|
|
|
then
|
|
|
|
echo "~/.sapphire/wmconfig directory exists, copying configuration files there";
|
|
|
|
- cp data/wmconfig/* ~/.sapphire/wmconfig
|
|
|
|
+ cp $DATADIR/wmconfig/* ~/.sapphire/wmconfig
|
|
|
|
else
|
|
|
|
mkdir ~/.sapphire/wmconfig
|
|
|
|
echo "created directory ~/.sapphire/wmconfig";
|
2000-02-21 16:57:04 +00:00
|
|
|
|
|
|
|
- cp data/wmconfig/* ~/.sapphire/wmconfig
|
|
|
|
+ cp $DATADIR/wmconfig/* ~/.sapphire/wmconfig
|
2000-04-30 21:22:00 +00:00
|
|
|
echo "configuration files were copied to ~/.sapphire/wmconfig";
|
|
|
|
fi
|
2000-02-21 16:57:04 +00:00
|
|
|
|