Skip to content

Commit 1c25d92

Browse files
Vitexusclaude
andcommitted
fix: remove debug cat and redundant APP_NAME define from postinst/rules
Removes leftover debug statements (cat of env file) from postinst that caused fresh installs to fail with exit code 1, and removes duplicate APP_NAME define injection from debian/rules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7e084ac commit 1c25d92

4 files changed

Lines changed: 0 additions & 143 deletions

File tree

WARP.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

debian/csas-authorize.postinst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ set -e
88

99
if [ -f /usr/share/dbconfig-common/dpkg/postinst ]; then
1010

11-
echo "############################"
12-
cat /etc/csas-authorize/csas-authorize.env
13-
echo "############################"
14-
15-
1611
phinx migrate -c /usr/lib/csas-authorize/phinx-adapter.php
1712

1813
fi

debian/rules

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ override_dh_install:
2424
sed -i -e 's/\.\.\/src\/init\.php/\/usr\/share\/csas-authorize\/init\.php/g' \
2525
debian/csas-authorize/usr/libexec/csas-authorize/*.php
2626
# Inject APP_NAME, APP_VERSION and InstalledVersions at build time
27-
sed -i "1a defined('APP_NAME') || define('APP_NAME', '$(PKG_SOURCE)');" \
28-
debian/csas-authorize/usr/share/csas-authorize/autoload.php
2927
sed -i "s|'unknown'|'$(PKG_SOURCE)'|" \
3028
debian/csas-authorize/usr/share/csas-authorize/autoload.php
3129
sed -i "s|'0.0.0'|'$(PKG_VERSION)'|" \

debian/tmp/composer.json

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)