distro-pisilinux.patch 1.3 KB

12345678910111213141516171819202122
  1. diff -Nuar inxi-1.8.34.orig/inxi inxi-1.8.34/inxi
  2. --- inxi-1.8.34.orig/inxi 2013-04-20 14:06:01.586242908 +0300
  3. +++ inxi-1.8.34/inxi 2013-04-20 14:11:08.959251481 +0300
  4. @@ -334,7 +334,7 @@
  5. FILE_MEMINFO='/proc/meminfo'
  6. FILE_MODULES='/proc/modules'
  7. FILE_MOUNTS='/proc/mounts'
  8. -FILE_OS_RELEASE='/etc/os-release'
  9. +FILE_OS_RELEASE='/etc/pisilinux-release'
  10. FILE_PARTITIONS='/proc/partitions'
  11. FILE_SCSI='/proc/scsi/scsi'
  12. FILE_XORG_LOG='/var/log/Xorg.0.log' # if not found, search and replace with actual location
  13. @@ -512,7 +512,7 @@
  14. DISTROS_DERIVED="antix-version aptosid-version kanotix-version knoppix-version mandrake-release pardus-release sabayon-release siduction-version sidux-version turbolinux-release zenwalk-version"
  15. # debian_version excluded from DISTROS_PRIMARY so Debian can fall through to /etc/issue detection. Same goes for Ubuntu.
  16. DISTROS_EXCLUDE_LIST="debian_version ubuntu_version"
  17. -DISTROS_PRIMARY="arch-release gentoo-release redhat-release slackware-version SuSE-release"
  18. +DISTROS_PRIMARY="arch-release gentoo-release redhat-release slackware-version SuSE-release pisilinux-release"
  19. DISTROS_LSB_GOOD="mandrake-release mandriva-release mandrakelinux-release"
  20. # this is being used both by core distros and derived distros now, eg, solusos uses it for solusos id, while
  21. # debian, solusos base, uses it as well, so we have to know which it is.