create_deb.sh added
This commit is contained in:
24
create_deb.sh
Normal file
24
create_deb.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Create dummy package structure
|
||||
mkdir -p /tmp/python3-pypdf2-dummy/DEBIAN
|
||||
|
||||
# Create control file
|
||||
cat > /tmp/python3-pypdf2-dummy/DEBIAN/control << EOF
|
||||
Package: python3-pypdf2
|
||||
Version: 1.0.0
|
||||
Section: python
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: python3-pypdf
|
||||
Maintainer: Christoph Mai <support@agentur2c.de>
|
||||
Description: Dummy package to satisfy python3-pypdf2 dependency
|
||||
This is a dummy package that depends on python3-pypdf to satisfy
|
||||
the python3-pypdf2 dependency for Odoo 19.
|
||||
EOF
|
||||
|
||||
# Build the dummy package
|
||||
dpkg-deb --build /tmp/python3-pypdf2-dummy
|
||||
|
||||
# Install the dummy package
|
||||
echo "Installation: sudo dpkg -i /tmp/python3-pypdf2-dummy.deb"
|
||||
Reference in New Issue
Block a user