Changed how $prefix works

This commit is contained in:
Tonoxis
2021-09-09 23:13:53 -04:00
parent e788fa9720
commit ee8cd323f5

View File

@@ -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");
}
/**