Package: nanoblogger / 3.4.2-3

adjust-paths.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
changes paths to match debian installation
--- a/nb
+++ b/nb
@@ -11,11 +11,11 @@
 
 # -- hardcoded paths --
 # where to expect nanoblogger's base
-NB_BASE_DIR=`dirname $0`
+NB_BASE_DIR="/usr/share/nanoblogger"
 # where to expect nanoblogger's documentation
-NB_DOC_DIR="$NB_BASE_DIR/docs"
+NB_DOC_DIR="/usr/share/doc/nanoblogger"
 # where to expect nanoblogger's conf file
-NB_CFG_DIR="$NB_BASE_DIR"
+NB_CFG_DIR="/etc/nanoblogger"
 # nanoblogger's language definitions directory.
 NB_LANG_DIR="${NB_BASE_DIR}/lang"
 # nanoblogger's module directory.