Skip to content

Commit

Permalink
Remove dependency to python3-reconfigure, install it with pip instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyBasher committed Jun 20, 2022
1 parent 2657c16 commit eb94392
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Package: linuxmuster-base7
Architecture: all
Conflicts: dnsmasq-base
Pre-Depends: python3
Depends: coreutils, cups, printer-driver-cups-pdf, isc-dhcp-server, python3-bcrypt, python3-bs4, python3-lxml, python3-ipy, python3-reconfigure, python3-apt, python3-netifaces, python3-dialog, python3-ldap3, python3-netaddr, python3-pip, python3-requests, openssl, ntp, ntpdate, samba, samba-dsdb-modules, smbclient, ldb-tools, krb5-user, linuxmuster-webui7, linuxmuster-linbo7, screen, sophomorix-samba
Depends: coreutils, cups, printer-driver-cups-pdf, isc-dhcp-server, python3-bcrypt, python3-bs4, python3-lxml, python3-ipy, python3-apt, python3-netifaces, python3-dialog, python3-ldap3, python3-netaddr, python3-pip, python3-requests, openssl, ntp, ntpdate, samba, samba-dsdb-modules, smbclient, ldb-tools, krb5-user, linuxmuster-webui7, linuxmuster-linbo7, screen, sophomorix-samba
Description: linuxmuster.net configuration scripts
This package provides configuration scripts for linuxmuster.net
6 changes: 2 additions & 4 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ datestr="$(date +%Y%m%d%H%M)"
case "$1" in

configure)
# ensure python3 paramiko and reconfigure are installed
/usr/bin/python3 -m pip install paramiko reconfigure

# add lmn paths to python environment
usersite="$(python3 -c 'import site; site._script()' --user-site)"
Expand Down Expand Up @@ -143,10 +145,6 @@ case "$1" in
systemctl start ntp.service
fi


# ensure python3-paramiko is installed
pip3 install paramiko

# remove obsolete sudo users for webui (#90)
for i in student teacher; do
id "$i" &> /dev/null && userdel "$i"
Expand Down

0 comments on commit eb94392

Please sign in to comment.