瀏覽代碼

Remove useless postinst from samsung driver

Sergey Ilinykh 7 年之前
父節點
當前提交
0579561a54
共有 1 個文件被更改,包括 0 次插入11 次删除
  1. 0 11
      net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild

+ 0 - 11
net-print/samsung-unified-driver/samsung-unified-driver-1.00.39.ebuild

@@ -111,14 +111,3 @@ src_install() {
 		doexe ${MY_ARCH}/smfpnetdiscovery
 	fi
 }
-
-pkg_postinst() {
-	if use scanner && ! has_version ${CATEGORY}/${PN}[scanner]; then
-		elog "You need to manually add 'smfp' backend to /etc/sane.d/dll.conf:"
-		elog "# echo smfp >> /etc/sane.d/dll.conf"
-	fi
-	if use network && ! has_version ${CATEGORY}/${PN}[network]; then
-		elog "If you are behind a firewall, you need to allow SNMP UDP packets"
-		elog "with source port 161 and destination port 22161."
-	fi
-}