post-install

Error starting ejabberd 16.05 server on Mac os 10.7.5

孤街浪徒 提交于 2020-01-17 14:45:12
问题 I am newbie to ejabberd world. I am getting error while installation of ejabberd 15.06 server on mac os 10.7.5 during post install script execution. The installation looks to be complete. I went to bin directory of ejabberd installation path and manually executed post_install.sh to understand error. It is giving below error which doesn't make sense to me. Can anyone please help? ./ejabberdctl: line 160: 2092 Segmentation fault: 11 $EXEC_CMD "$ERL $NAME $ERLANG_NODE -noinput -detached -pa

db_input in postinst doesn't work

家住魔仙堡 提交于 2019-12-24 10:45:21
问题 I have a problem with postinst script, I have to ask root password for MySQL to create some user for my application. I know, it's bad practice to use db_input in postinst however I really need it. Why this postinst doesn't work when I install my app form repository but works properly when I install it as .deb package? postinst: #!/bin/bash -e . /usr/share/debconf/confmodule db_input high my_app/mysql_root_password || true db_go error: dpkg: error processing my-app (--configure): subprocess

Execute a Python script post install using distutils / setuptools

╄→尐↘猪︶ㄣ 提交于 2019-12-17 05:54:49
问题 I'm trying to add a post-install task to Python distutils as described in How to extend distutils with a simple post install script?. The task is supposed to execute a Python script in the installed lib directory . This script generates additional Python modules the installed package requires. My first attempt is as follows: from distutils.core import setup from distutils.command.install import install class post_install(install): def run(self): install.run(self) from subprocess import call

Execute a Python script post install using distutils / setuptools

戏子无情 提交于 2019-12-17 05:54:18
问题 I'm trying to add a post-install task to Python distutils as described in How to extend distutils with a simple post install script?. The task is supposed to execute a Python script in the installed lib directory . This script generates additional Python modules the installed package requires. My first attempt is as follows: from distutils.core import setup from distutils.command.install import install class post_install(install): def run(self): install.run(self) from subprocess import call

HowTo run a script after MSI installation was completed? MSI created with VS2010 + Setup Wizard

穿精又带淫゛_ 提交于 2019-12-13 05:24:31
问题 Targets: I have MyAPP.exe (build in VS2010) & MyDriver.sys (build with VS2010 + WinDDK) What I'm trying to do: is to create a Setup Wizard project, which can run post-install action, for example, I need to install the driver after installation succesfully completed like this: rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\MyDriver.inf Another words, I need to run CMD script file (pre or port install, the order not is the real problem), with my MSI package simultaneously. Is

Run gulp task after NPM package install without any command

孤街浪徒 提交于 2019-12-13 02:55:22
问题 I've developed a small angular package that is hosted on npmjs. when I try to install my package I want to change my "selector" name so that I have written one gulp task like below: gulp.task('tag-change', function () { // var files = fs.readFileSync('./node_modules/@syncfusion/ej2-angular-buttons/@syncfusion/ej2-angular-buttons.es5.js', 'utf8'); var files = glob.sync('./dist/@syncfusion/*'); for (var i = 0; i < files.length; i++) { var sourceFile = fs.readFileSync(files[i],'utf8');

Mac installers with pkgbuild: Do not execute preinstall and postinstall script in case of a downgrade

隐身守侯 提交于 2019-12-12 20:50:16
问题 I made a package with pkgbuild. In info.plist, BundleIsVersionChecked is set to true. My package contains a preinstall and postinstall script in the scripts folder. A downgrade of my application bundle is indeed prevented. But the preinstall and postinstall script is always run, even if the application bundle is not installed. How can I tell pkgbuild not to execute the preinstall and postinstall script when a downgrade is happening? 来源: https://stackoverflow.com/questions/20288834/mac

Magento: Bundle items added but on reload they are empty

心已入冬 提交于 2019-12-12 03:17:53
问题 I go in and add items to a category for a bundled item. It seems it does it, and then opening again the category is empty. How to trace this error? Steps to reproduce: Edit item - Bundle tab - Add Selected Product(s) to Option Click on "Save and Continue Edit" button I see a call to /index.php/admin/catalog_product/validate/id/481/back/edit/tab/product_info_tabs_bundle_items/key/8bee606f1ce09f1f0e2b4128v379e52e/?isAjax=true and am able to trace the Response (using Chrome's "Network" tab) with

How to install dependencies while creating a .deb installer?

ε祈祈猫儿з 提交于 2019-12-07 12:12:28
问题 I have created a deb package say abc.deb . Now there are few dependencies like python-dev, python-mysql etc., which are needed to be installed as a part of deb installation itself. (i.e. when user runs dpkg -i abc.deb , the dependencies should also get installed automatically). I am using a control file which contains few parameters like preinst, postinst etc. I tried to add Depends to the control file, but I guess, Depends only stops package installation if dependencies mentioned are not

How to install dependencies while creating a .deb installer?

痞子三分冷 提交于 2019-12-05 22:39:35
I have created a deb package say abc.deb . Now there are few dependencies like python-dev, python-mysql etc., which are needed to be installed as a part of deb installation itself. (i.e. when user runs dpkg -i abc.deb , the dependencies should also get installed automatically). I am using a control file which contains few parameters like preinst, postinst etc. I tried to add Depends to the control file, but I guess, Depends only stops package installation if dependencies mentioned are not present. How could I install the dependencies as a part of deb package installation itself? I am looking