Skip to content

Commit

Permalink
Merge pull request #774 from paulignari/gh773
Browse files Browse the repository at this point in the history
Announce that the smarty3 package needs to be installed manually
  • Loading branch information
coudot authored Nov 22, 2023
2 parents 5b15744 + 440e790 commit 5eccdff
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packaging/debian/NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ltb-project-self-service-password (1.5.3-2) unstable; urgency=high

Smarty3 package must be manually installed

Smarty3 package, on which this software relies, is currently broken
on Ubuntu, so it was removed from packages dependences since
version 1.5.3-1.
Install smarty3 package manually and follow instructions on
https://self-service-password.readthedocs.io/en/latest/installation.html#debian-ubuntu
if you face this error:

syntax error, unexpected token "class"

-- Clement Oudot <clem@ltb-project.org> Wed, 17 May 2023 12:18:22 +0200
7 changes: 7 additions & 0 deletions packaging/debian/self-service-password.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

. /usr/share/debconf/confmodule || exit 0

db_input critical self-service-password/smarty-warn || true
db_go
2 changes: 2 additions & 0 deletions packaging/debian/self-service-password.postinst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

. /usr/share/debconf/confmodule

# Move configuration for older version
if [ -r "/usr/share/self-service-password/config.inc.php" ]; then
mv /usr/share/self-service-password/config.inc.php /usr/share/self-service-password/conf/config.inc.php
Expand Down
12 changes: 12 additions & 0 deletions packaging/debian/self-service-password.templates
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

Template: self-service-password/smarty-warn
Type: note
Description: Smarty3 package must be manually installed
Smarty3 package, on which this software relies, is currently broken
on Ubuntu, so it was removed from packages dependences since
version 1.5.3-1.
Install smarty3 package manually and follow instructions on
https://self-service-password.readthedocs.io/en/latest/installation.html#debian-ubuntu
if you face this error:
.
syntax error, unexpected token "class"

0 comments on commit 5eccdff

Please sign in to comment.