🐛 use 'env python3'

This commit is contained in:
neingeist 2025-08-26 23:55:54 +02:00
parent 7e91deb06b
commit d23a13bb93
9 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Convert an image to CSS/HTML base64 foo # Convert an image to CSS/HTML base64 foo
from __future__ import division, print_function from __future__ import division, print_function

View file

@ -1,4 +1,4 @@
#!/usr/bin/python2 #!/usr/bin/env python3
# Check Java versions against the newest one installed # Check Java versions against the newest one installed
# #
# This assumes that there's OpenJDK installed and kept up to date. # This assumes that there's OpenJDK installed and kept up to date.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
import click import click
import subprocess import subprocess
from pathlib import Path from pathlib import Path

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
"""Check Docker images for security/distro updates. Assumes DNF.""" """Check Docker images for security/distro updates. Assumes DNF."""
from __future__ import division, print_function from __future__ import division, print_function

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python3
"""Print fetchmail errors in journal since yesterday, if more than MINCOUNT""" """Print fetchmail errors in journal since yesterday, if more than MINCOUNT"""
import datetime import datetime

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
import os import os
import subprocess import subprocess
import sys import sys

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Check if all libvirt domains are prepared for TRIM/fstrim # Check if all libvirt domains are prepared for TRIM/fstrim
# (for use on qcow2 images or thin provisioned volumes) # (for use on qcow2 images or thin provisioned volumes)

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Restart all running libvirt domains # Restart all running libvirt domains
import libvirt import libvirt

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
# Find duplicate keys in ~/.ssh/known_hosts # Find duplicate keys in ~/.ssh/known_hosts
# #
# Of course, we should have been more careful in the first place :) # Of course, we should have been more careful in the first place :)