-rwxr-xr-x | scripts/q_functions | 12 |
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 | |||
@@ -139,16 +139,16 @@ function print_install_file | |||
139 | { | 139 | { |
140 | cat << END | 140 | cat << END |
141 | #!/bin/sh | 141 | #!/bin/sh |
142 | if [ a\$QPEDIR = a ] | 142 | if [ a\$OPIEDIR = a ] |
143 | then | 143 | then |
144 | echo QPEDIR must be set | 144 | echo OPIEDIR must be set |
145 | exit | 145 | exit |
146 | fi | 146 | fi |
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/ |
149 | mv \$QPEDIR/Makefile \$QPEDIR/Makefile.orig | 149 | mv \$OPIEDIR/Makefile \$OPIEDIR/Makefile.orig |
150 | sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ | 150 | sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ |
151 | /" \$QPEDIR/Makefile.orig >> \$QPEDIR/Makefile | 151 | /" \$OPIEDIR/Makefile.orig >> \$OPIEDIR/Makefile |
152 | echo You may wish to move the desktop file in to | 152 | echo You may wish to move the desktop file in to |
153 | echo an appropriate subdirectory of the menus. | 153 | echo an appropriate subdirectory of the menus. |
154 | END | 154 | END |