Changed how $prefix works
This commit is contained in:
@@ -16,7 +16,7 @@ class Package extends \Robo\Tasks
|
||||
{
|
||||
$this->packageBuild();
|
||||
}
|
||||
$this->_copy(getcwd()."/build/krnlupdate.phar", $opts['prefix']."/sbin/krnlupdate.phar");
|
||||
$this->_copy(getcwd()."/build/krnlupdate.phar", $opts['prefix']."/usr/sbin/krnlupdate.phar");
|
||||
}
|
||||
/**
|
||||
* Removes the package
|
||||
@@ -25,7 +25,7 @@ class Package extends \Robo\Tasks
|
||||
*/
|
||||
function packageRemove($opts = ['prefix' => "/usr"])
|
||||
{
|
||||
$this->_remove($opts['prefix']."/sbin/krnlupdate.phar");
|
||||
$this->_remove($opts['prefix']."/usr/sbin/krnlupdate.phar");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user