mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 19:49:44 +00:00
Bugfix: Fixes #203, Failing to identify Linux Mint
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# bootvid
|
||||
This directory contains the source-code for the boot splash.
|
||||

|
||||

|
||||
|
||||
@@ -12,27 +12,32 @@
|
||||
#
|
||||
# MAIN SCRIPT
|
||||
#
|
||||
if [[ ! -f "/etc/os-release" ]]
|
||||
|
||||
# Probe for package managers to try and determine what distro we're
|
||||
# on
|
||||
#
|
||||
|
||||
# Check Debian
|
||||
#
|
||||
which dpkg >/dev/null 2>&1
|
||||
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
echo "Unable to identify distribution."
|
||||
exit 1
|
||||
echo -n "deb"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Retrieve distro ID
|
||||
# Check Arch Linux
|
||||
#
|
||||
distro_in_use=`cat /etc/os-release | grep "^ID" | cut -d"=" -f2`
|
||||
which pacman >/dev/null 2>&1
|
||||
|
||||
case "${distro_in_use}" in
|
||||
arch)
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
echo -n "archpkg"
|
||||
;;
|
||||
exit 0
|
||||
fi
|
||||
|
||||
debian)
|
||||
echo -n "deb"
|
||||
;;
|
||||
|
||||
*)
|
||||
# Nothing else to probe, it's over!
|
||||
#
|
||||
echo "Unsupported distribution."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
5
shared/shelldpa/README.MD
Normal file
5
shared/shelldpa/README.MD
Normal file
@@ -0,0 +1,5 @@
|
||||
# libwintc-shelldpa
|
||||
This directory contains the source-code for the Shell Display Protocol Abstraction library.
|
||||
|
||||
## Purpose
|
||||
This library abstracts away differences in display protocols for APIs that require interacting with them. For instance, window management varies between X and Wayland - so this library attempts to use WNCK / xfce4windowing where it can.
|
||||
Reference in New Issue
Block a user