Skip to content

Commit 5eccdff

Browse files
authored
Merge pull request #774 from paulignari/gh773
Announce that the smarty3 package needs to be installed manually
2 parents 5b15744 + 440e790 commit 5eccdff

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

packaging/debian/NEWS

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ltb-project-self-service-password (1.5.3-2) unstable; urgency=high
2+
3+
Smarty3 package must be manually installed
4+
5+
Smarty3 package, on which this software relies, is currently broken
6+
on Ubuntu, so it was removed from packages dependences since
7+
version 1.5.3-1.
8+
Install smarty3 package manually and follow instructions on
9+
https://self-service-password.readthedocs.io/en/latest/installation.html#debian-ubuntu
10+
if you face this error:
11+
12+
syntax error, unexpected token "class"
13+
14+
-- Clement Oudot <clem@ltb-project.org> Wed, 17 May 2023 12:18:22 +0200
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
set -e
3+
4+
. /usr/share/debconf/confmodule || exit 0
5+
6+
db_input critical self-service-password/smarty-warn || true
7+
db_go

packaging/debian/self-service-password.postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
. /usr/share/debconf/confmodule
4+
35
# Move configuration for older version
46
if [ -r "/usr/share/self-service-password/config.inc.php" ]; then
57
mv /usr/share/self-service-password/config.inc.php /usr/share/self-service-password/conf/config.inc.php
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
Template: self-service-password/smarty-warn
3+
Type: note
4+
Description: Smarty3 package must be manually installed
5+
Smarty3 package, on which this software relies, is currently broken
6+
on Ubuntu, so it was removed from packages dependences since
7+
version 1.5.3-1.
8+
Install smarty3 package manually and follow instructions on
9+
https://self-service-password.readthedocs.io/en/latest/installation.html#debian-ubuntu
10+
if you face this error:
11+
.
12+
syntax error, unexpected token "class"

0 commit comments

Comments
 (0)