summaryrefslogtreecommitdiff
path: root/scripts
Unidiff
Diffstat (limited to 'scripts') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/q_functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/q_functions b/scripts/q_functions
index cf2c2e1..0705cc2 100755
--- a/scripts/q_functions
+++ b/scripts/q_functions
@@ -130,34 +130,34 @@ INTERFACES =
130 INCLUDEPATH+= ../library 130 INCLUDEPATH+= ../library
131 DEPENDPATH+= ../library 131 DEPENDPATH+= ../library
132LIBS += -lqpe 132LIBS += -lqpe
133 TARGET = $NEW_APP_NAME 133 TARGET = $NEW_APP_NAME
134END 134END
135} 135}
136 136
137 137
138function print_install_file 138function print_install_file
139{ 139{
140cat << END 140cat << END
141#!/bin/sh 141#!/bin/sh
142if [ a\$QPEDIR = a ] 142if [ a\$OPIEDIR = a ]
143then 143then
144echo QPEDIR must be set 144echo OPIEDIR must be set
145exit 145exit
146fi 146fi
147[ -f \$QPEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$QPEDIR/pics/ 147[ -f \$OPIEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$OPIEDIR/pics/
148[ -f \$QPEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$QPEDIR/apps/ 148[ -f \$OPIEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$OPIEDIR/apps/
149mv \$QPEDIR/Makefile \$QPEDIR/Makefile.orig 149mv \$OPIEDIR/Makefile \$OPIEDIR/Makefile.orig
150sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ 150sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\
151 /" \$QPEDIR/Makefile.orig >> \$QPEDIR/Makefile 151 /" \$OPIEDIR/Makefile.orig >> \$OPIEDIR/Makefile
152echo You may wish to move the desktop file in to 152echo You may wish to move the desktop file in to
153echo an appropriate subdirectory of the menus. 153echo an appropriate subdirectory of the menus.
154END 154END
155} 155}
156 156
157 157
158function print_desktop_file 158function print_desktop_file
159{ 159{
160cat << END 160cat << END
161[Desktop Entry] 161[Desktop Entry]
162Type=Application 162Type=Application
163Exec=$NEW_APP_NAME 163Exec=$NEW_APP_NAME