From 638085a49d3b13d7273a0412247a3f300d27e422 Mon Sep 17 00:00:00 2001 From: "admin (centauri.fritz.box)" Date: Sat, 22 Mar 2014 12:17:12 +0100 Subject: fix git repo --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 00e5296..085c192 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Paul Buetow Build-Depends: perl, make Standards-Version: 3.9.2 Homepage: http://photoalbum.buetow.org -Vcs-Git: git://git.buetow.org/photoalbum +Vcs-Git: https://github.com/rantanplan/photoalbum Vcs-Browser: http://web.buetow.org/git/?p=photoalbum.git;a=summary Package: photoalbum -- cgit v1.2.3 From 2e1b5c06414cf7623bc61d0e77d7183940b273f1 Mon Sep 17 00:00:00 2001 From: "admin (centauri.fritz.box)" Date: Sat, 22 Mar 2014 14:11:45 +0100 Subject: fix --- debian/control | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/control b/debian/control index a0160a5..36cc8f8 100644 --- a/debian/control +++ b/debian/control @@ -5,8 +5,7 @@ Maintainer: Paul Buetow Build-Depends: perl, make Standards-Version: 3.9.2 Homepage: http://photoalbum.buetow.org -Vcs-Git: https://github.com/rantanplan//photoalbum -Vcs-Browser: https://github.com/rantanplan/photoalbum +Vcs-Git: https://github.com/rantanplan//photoalbum.git Vcs-Browser: https://github.com/rantanplan/photoalbum Package: photoalbum -- cgit v1.2.3 From 290545740542eac801cca3038276a1227aae23c8 Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow (mars.fritz.box)" Date: Tue, 13 May 2014 23:00:33 +0200 Subject: use readonly --- src/photoalbum.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/photoalbum.sh b/src/photoalbum.sh index a047339..2f7be9f 100755 --- a/src/photoalbum.sh +++ b/src/photoalbum.sh @@ -3,10 +3,10 @@ # photoalbum (c) 2011 - 2014 by Paul C. Buetow # http://photoalbum.buetow.org -declare -r VERSION='PHOTOALBUMVERSION' -declare -r DEFAULTRC=/etc/default/photoalbum -declare -r ARG1="${1}" ; shift -declare RC_FILE="${1}" ; shift +readonly VERSION='PHOTOALBUMVERSION' +readonly DEFAULTRC=/etc/default/photoalbum +readonly ARG1="${1}" ; shift +declare RC_FILE="${1}" ; shift function usage() { cat - <&2 @@ -29,7 +29,7 @@ MAKEFILE function tarball() { # Cleanup tarball from prev run if any find "${DIST_DIR}" -maxdepth 1 -type f -name \*.tar -delete - declare -r base=$(basename "${INCOMING_DIR}") + readonly base=$(basename "${INCOMING_DIR}") echo "Creating tarball ${DIST_DIR}/${tarball_name} from ${INCOMING_DIR}" cd $(dirname "${INCOMING_DIR}") @@ -38,9 +38,9 @@ function tarball() { } function template() { - declare -r template=${1} ; shift - declare -r html=${1} ; shift - declare -r dist_html="${DIST_DIR}/${html_dir}" + readonly template=${1} ; shift + readonly html=${1} ; shift + readonly dist_html="${DIST_DIR}/${html_dir}" # Creating ${dist_html}/${html}.html from ${template}.tmpl [ ! -d "${dist_html}" ] && mkdir -p "${dist_html}" @@ -184,9 +184,9 @@ function generate() { fi if [ "${TARBALL_INCLUDE}" = yes ]; then - declare -r base=$(basename "${INCOMING_DIR}") - declare -r now=$(date +'%Y-%m-%d-%H%M%S') - declare -r tarball_name="${base}-${now}${TARBALL_SUFFIX}" + readonly base=$(basename "${INCOMING_DIR}") + readonly now=$(date +'%Y-%m-%d-%H%M%S') + readonly tarball_name="${base}-${now}${TARBALL_SUFFIX}" fi scalephotos -- cgit v1.2.3 From a14add04680c5ad04774df753b93bfe3fe05d8f3 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (centauri)" Date: Sun, 12 Apr 2015 08:46:18 +0100 Subject: Merge --- docs/photoalbum.1 | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/docs/photoalbum.1 b/docs/photoalbum.1 index 1e8e618..2ffd275 100644 --- a/docs/photoalbum.1 +++ b/docs/photoalbum.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) +.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) .\" .\" Standard preamble: .\" ======================================================================== @@ -38,6 +38,8 @@ . ds PI \(*p . ds L" `` . ds R" '' +. ds C` +. ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. @@ -48,17 +50,24 @@ .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.ie \nF \{\ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" +.\" +.\" Avoid warning from groff about undefined register 'F'. +.de IX .. -. nr % 0 -. rr F -.\} -.el \{\ -. de IX +.nr rF 0 +.if \n(.g .if rF .nr rF 1 +.if (\n(rF:(\n(.g==0)) \{ +. if \nF \{ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" .. +. if !\nF==2 \{ +. nr % 0 +. nr F 2 +. \} +. \} .\} +.rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. @@ -124,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "PHOTOALBUM 1" -.TH PHOTOALBUM 1 "2014-05-13" "photoalbum 0.4.4" "User Commands" +.TH PHOTOALBUM 1 "2014-07-01" "photoalbum 0.4.4" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -163,7 +172,7 @@ Creates a Makefile and photoalbumrc in the current working directory. .PP It is possible to specify a custom rcfile path too. .PP -\fI\s-1HTML\s0 \s-1TEMPLATES\s0\fR +\fI\s-1HTML TEMPLATES\s0\fR .IX Subsection "HTML TEMPLATES" .PP Go to the templates directory and edit them as wished. -- cgit v1.2.3