jdppettit / space-personal

A virtualization control panel written in Python
4 stars 5 forks source link

space.sh is broken in debian #43

Closed levlaz closed 9 years ago

levlaz commented 9 years ago

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.

jdppettit commented 9 years ago

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:

/lib/lsb/init-functions

jdppettit commented 9 years ago

Fixed it