File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ rsync -r ./nginx/ /usr/local/hestia/data/templates/web/nginx/
51
51
# Update global bash.bashrc
52
52
# ###########################################
53
53
54
- if ! grep -Fxq " # begin hestiacp -nodeapp" " /etc/bash.bashrc" ; then
54
+ if ! grep -Fxq " # begin hcpp -nodeapp" " /etc/bash.bashrc" ; then
55
55
56
56
cat << EOT >> /etc/bash.bashrc
57
- # begin hestiacp -nodeapp
57
+ # begin hcpp -nodeapp
58
58
export NVM_DIR="/opt/nvm"
59
59
[ -s "\$ NVM_DIR/nvm.sh" ] && \. "\$ NVM_DIR/nvm.sh" # This loads nvm
60
60
[ -s "\$ NVM_DIR/bash_completion" ] && \. "\$ NVM_DIR/bash_completion" # This loads nvm bash_completion
61
61
export PATH="/opt/nvm:\$ PATH"
62
- # end hestiacp -nodeapp
62
+ # end hcpp -nodeapp
63
63
EOT
64
64
65
65
fi
Original file line number Diff line number Diff line change 6
6
*
7
7
* @version 1.0.0
8
8
* @license GPL-3.0
9
- * @link https://github.com/steveorevo/hestiacp -nodeapp
9
+ * @link https://github.com/steveorevo/hcpp -nodeapp
10
10
*
11
11
*/
12
12
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
3
* Plugin Name: NodeApp
4
- * Plugin URI: https://github.com/steveorevo/hestiacp -nodeapp
4
+ * Plugin URI: https://github.com/virtuosoft-dev/hcpp -nodeapp
5
5
* Description: NodeApp is a plugin for HestiaCP that allows you to easily host NodeJS applications.
6
+ * Version: 1.0.0
6
7
*/
7
8
8
9
// Register the install and uninstall scripts
Original file line number Diff line number Diff line change 4
4
rm -rf /opt/nvm
5
5
6
6
# Update global bash.bashrc
7
- sed ' /^# begin hestiacp -nodeapp$/,/^# end hestiacp -nodeapp$/d' /etc/bash.bashrc > temp.txt && mv temp.txt /etc/bash.bashrc
7
+ sed ' /^# begin hcpp -nodeapp$/,/^# end hcpp -nodeapp$/d' /etc/bash.bashrc > temp.txt && mv temp.txt /etc/bash.bashrc
8
8
9
9
# ###########################################
10
10
# Uninstall templates
You can’t perform that action at this time.
0 commit comments