✏️ 正在编辑: ssh-import-id.postinst
路径:
/var/lib/dpkg/info/ssh-import-id.postinst
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/bin/sh set -e # Migrate from shell syntax configuration file to JSON to # smooth migration from ssh-import-id < 3.0. Though this was # never in Debian, let's still provide this incase some had # installed the package from Ubuntu. sed -i -e "/^#/d" -e "s/^URL=\"\(.*\)\"/{\"URL\": \"\1\"}/" /etc/ssh/ssh_import_id || true # Automatically added by dh_python3: if which py3compile >/dev/null 2>&1; then py3compile -p ssh-import-id -V 3.2- fi # End automatically added section
💾 保存文件
← 返回文件管理器