space.sh calls /etc/init.d/functions which is not a thing in debian.
In order to solve this issue and prevent others we will write a config file somewhere that other utilities can read and be aware of information about the system. This is a better approach then checking for the OS type multiple times in multiple files.
This is easy, we just need to have the init script check the dist, the same way we do in setup, and then have it change the source based on that. Proper source for Debian/ubuntu is:
space.sh calls /etc/init.d/functions which is not a thing in debian.
In order to solve this issue and prevent others we will write a config file somewhere that other utilities can read and be aware of information about the system. This is a better approach then checking for the OS type multiple times in multiple files.