Skip to content

Commit

Permalink
fix: restore needed file that was cleaned up
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Ebert <kim@indicio.tech>
  • Loading branch information
reflectivedevelopment committed Apr 23, 2024
1 parent 99d7b7b commit 77b23ca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-scripts/ubuntu-2204/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# Automatically added from template:
if which py3compile >/dev/null 2>&1; then
py3compile -O -p {package_name} /usr/local/lib/python3.8/dist-packages/
fi

# End automatically added section
7 changes: 7 additions & 0 deletions build-scripts/ubuntu-2204/prerm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Automatically added from template:

dpkg -L {package_name} | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'

# End automatically added section

0 comments on commit 77b23ca

Please sign in to comment.