Browse Source

Main install called automatically

Bob Mottram 8 years ago
parent
commit
5f33f9e040
2 changed files with 15 additions and 17 deletions
  1. 1
    2
      doc/EN/devguide.org
  2. 14
    15
      website/EN/devguide.html

+ 1
- 2
doc/EN/devguide.org View File

@@ -241,8 +241,7 @@ function install_interactive_myappname {
241 241
             ;;
242 242
     esac
243 243
 
244
-    # Then do the main install
245
-    install_myappname
244
+    # install_myappname will be called automatically after this function
246 245
 }
247 246
 
248 247
 # NOTE: deliberately no exit 0

+ 14
- 15
website/EN/devguide.html View File

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2016-10-31 Mon 16:23 -->
6
+<!-- 2016-11-23 Wed 23:14 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -245,17 +245,17 @@ for the JavaScript code in this tag.
245 245
 
246 246
 <center><h1>Developers Guide</h1></center>
247 247
 
248
-<div id="outline-container-org074049e" class="outline-2">
249
-<h2 id="org074049e">Introduction</h2>
250
-<div class="outline-text-2" id="text-org074049e">
248
+<div id="outline-container-orgffd1fd3" class="outline-2">
249
+<h2 id="orgffd1fd3">Introduction</h2>
250
+<div class="outline-text-2" id="text-orgffd1fd3">
251 251
 <p>
252 252
 Freedombone consists of a set of bash scripts. There are a lot of them, but they're not very complicated. If you're familiar with the GNU/Linux commandline and can hack a bash script then you can probably add a new app or fix a bug in the system. There are no trendy development frameworks to learn or to get in your way.
253 253
 </p>
254 254
 </div>
255 255
 </div>
256
-<div id="outline-container-org89ff261" class="outline-2">
257
-<h2 id="org89ff261">Community Statement</h2>
258
-<div class="outline-text-2" id="text-org89ff261">
256
+<div id="outline-container-org2680a92" class="outline-2">
257
+<h2 id="org2680a92">Community Statement</h2>
258
+<div class="outline-text-2" id="text-org2680a92">
259 259
 <p>
260 260
 This project doesn't require you to take any special pledge of allegiance or subscribe to any guru's list of commandments. It does not care about your gender, race, national flag or political alignment. It is agnostic towards your religion or lack thereof. It doesn't give one hoot as to whether you are young or old, rich or poor, gay, trans, straight or just "other". It does not care if you like your eggs sunny side up or if you are a vegan.
261 261
 </p>
@@ -273,9 +273,9 @@ This project also has a no bullshit policy. Anyone trying to cause a ruckus by t
273 273
 </p>
274 274
 </div>
275 275
 </div>
276
-<div id="outline-container-org878a962" class="outline-2">
277
-<h2 id="org878a962">Adding extra apps</h2>
278
-<div class="outline-text-2" id="text-org878a962">
276
+<div id="outline-container-org468bc13" class="outline-2">
277
+<h2 id="org468bc13">Adding extra apps</h2>
278
+<div class="outline-text-2" id="text-org468bc13">
279 279
 <p>
280 280
 Suppose you have some internet application which you want to add to the system. To do this you need to create an app script which tells the system how to install/remove and also backup/restore. The script should be designed to work with the current stable version of Debian.
281 281
 </p>
@@ -504,8 +504,7 @@ An example template for an app script is shown below. Copy this and add whatever
504 504
             ;;
505 505
     <span class="org-keyword">esac</span>
506 506
 
507
-    <span class="org-comment-delimiter"># </span><span class="org-comment">Then do the main install</span>
508
-    install_myappname
507
+    <span class="org-comment-delimiter"># </span><span class="org-comment">install_myappname will be called automatically after this function</span>
509 508
 }
510 509
 
511 510
 <span class="org-comment-delimiter"># </span><span class="org-comment">NOTE: deliberately no exit 0</span>
@@ -544,9 +543,9 @@ Submit your working app to <b><a href="https://github.com/bashrc/freedombone/iss
544 543
 </div>
545 544
 </div>
546 545
 
547
-<div id="outline-container-org0ddad82" class="outline-2">
548
-<h2 id="org0ddad82">Customising mesh images</h2>
549
-<div class="outline-text-2" id="text-org0ddad82">
546
+<div id="outline-container-org183d670" class="outline-2">
547
+<h2 id="org183d670">Customising mesh images</h2>
548
+<div class="outline-text-2" id="text-org183d670">
550 549
 <p>
551 550
 If you want to make your own specially branded version of the mesh images, such as for a particular event, then to change the default desktop backgrounds edit the images within <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously.
552 551
 </p>