Skip to content

Commit 07cd140

Browse files
committed
make build done
1 parent b2eab0f commit 07cd140

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

debian/cnb-cache-sqlite.postinst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ configure)
9595
fi
9696

9797

98-
phinx migrate -c /usr/lib/cnb-cache/phinx-adapter.php
99-
10098
if [ -f /var/lib/cnb-cache/cnb-cache ]; then
10199
chown root:cnb-cache /var/lib/cnb-cache
102100
chmod ug+rw /var/lib/cnb-cache

debian/cnb-cache.postinst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ configure)
171171
fi
172172
fi
173173

174+
echo "Migrate database"
175+
phinx migrate -c /usr/lib/cnb-cache/phinx-adapter.php || true
176+
174177
echo "Initializing cache"
175178

176179

0 commit comments

Comments
 (0)