{"action":"closed","issue":{"url":"https://api.github.com/repos/cobbler/cobbler/issues/1416","labels_url":"https://api.github.com/repos/cobbler/cobbler/issues/1416/labels{/name}","comments_url":"https://api.github.com/repos/cobbler/cobbler/issues/1416/comments","events_url":"https://api.github.com/repos/cobbler/cobbler/issues/1416/events","html_url":"https://github.com/cobbler/cobbler/issues/1416","id":59254511,"number":1416,"title":"make devinstall not working on Ubuntu 14.04.2 LTS. 1 line error in Makefile","user":{"login":"kb3dow","id":7277191,"avatar_url":"https://avatars.githubusercontent.com/u/7277191?v=3","gravatar_id":"","url":"https://api.github.com/users/kb3dow","html_url":"https://github.com/kb3dow","followers_url":"https://api.github.com/users/kb3dow/followers","following_url":"https://api.github.com/users/kb3dow/following{/other_user}","gists_url":"https://api.github.com/users/kb3dow/gists{/gist_id}","starred_url":"https://api.github.com/users/kb3dow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kb3dow/subscriptions","organizations_url":"https://api.github.com/users/kb3dow/orgs","repos_url":"https://api.github.com/users/kb3dow/repos","events_url":"https://api.github.com/users/kb3dow/events{/privacy}","received_events_url":"https://api.github.com/users/kb3dow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cobbler/cobbler/labels/packaging","name":"packaging","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"jmaas","id":790690,"avatar_url":"https://avatars.githubusercontent.com/u/790690?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaas","html_url":"https://github.com/jmaas","followers_url":"https://api.github.com/users/jmaas/followers","following_url":"https://api.github.com/users/jmaas/following{/other_user}","gists_url":"https://api.github.com/users/jmaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaas/subscriptions","organizations_url":"https://api.github.com/users/jmaas/orgs","repos_url":"https://api.github.com/users/jmaas/repos","events_url":"https://api.github.com/users/jmaas/events{/privacy}","received_events_url":"https://api.github.com/users/jmaas/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-27T15:56:54Z","updated_at":"2015-03-24T21:12:22Z","closed_at":"2015-03-24T21:12:22Z","body":"    root@cobbler:~/cobbler# lsb_release -a\r\n    No LSB modules are available.\r\n    Distributor ID:     Ubuntu\r\n    Description:        Ubuntu 14.04.2 LTS\r\n    Release:    14.04\r\n    Codename:   trusty\r\n    -----------------\r\n    root@cobbler:~/cobbler# make devinstall\r\n    ... snip ...\r\n    copying /tmp/cobbler_settings/devinstall/rsync.template to //etc/cobbler/rsync.template\r\n    if [ -n \"`getent passwd apache`\" ] ; then \\\r\n                chown -R apache //var/www/cobbler; \\\r\n        elif [ -n \"`getent passwd wwwrun`\" ] ; then \\\r\n                chown -R wwwrun //usr/share/cobbler/web/cobbler_web; \\\r\n        elif [-n \"`getent passwd www-data`\"] ; then \\\r\n                chown -R www-data //usr/share/cobbler/web/cobbler_web; \\\r\n        fi\r\n    /bin/sh: 5: [-n: not found\r\n    ----------------------\r\n    I fixed 1 line in the Makefile to correct the issue\r\n    root@cobbler:~/cobbler# git diff Makefile\r\n    diff --git a/Makefile b/Makefile\r\n    index c91cf76..02fb940 100644\r\n    --- a/Makefile\r\n    +++ b/Makefile\r\n    @@ -64,7 +64,7 @@ restorestate:\r\n                    chown -R apache $(DESTDIR)/var/www/cobbler; \\\r\n            elif [ -n \"`getent passwd wwwrun`\" ] ; then \\\r\n                    chown -R wwwrun $(DESTDIR)/usr/share/cobbler/web/cobbler_web; \\\r\n    -       elif [-n \"`getent passwd www-data`\"] ; then \\\r\n    +       elif [ -n \"`getent passwd www-data`\" ] ; then \\\r\n                    chown -R www-data $(DESTDIR)/usr/share/cobbler/web/cobbler_web; \\\r\n            fi\r\n            if [ -d $(DESTDIR)/var/www/cobbler ] ; then \\\r\n    ----------------\r\n\r\n    That made it work.\r\n~                        "}}