Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
493e43e1
Commit
493e43e1
authored
Feb 21, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download aplinfo inh postinst script
parent
6f0418b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
APLInfo.pm
PVE/APLInfo.pm
+1
-7
postinst
debian/postinst
+6
-0
No files found.
PVE/APLInfo.pm
View file @
493e43e1
...
...
@@ -291,13 +291,7 @@ sub update {
sub
load_data
{
my
$filename
=
"
$aplinfodir
/download.proxmox.com
";
if
(
!
-
f
$filename
)
{
mkdir
$aplinfodir
;
system
("
cp /usr/share/doc/pve-manager/aplinfo.dat
$filename
");
}
my
$urls
=
get_apl_sources
();
my
$urls
=
get_apl_sources
();
my
$list
=
{};
...
...
debian/postinst
View file @
493e43e1
...
...
@@ -40,6 +40,12 @@ case "$1" in
# remove old APL dir
rm
-rf
/var/lib/pve-manager/apl-available
if
test
!
-e
/var/lib/pve-manager/apl-info/download.proxmox.com
;
then
mkdir
-p
/var/lib/pve-manager/apl-info
cp
/usr/share/doc/pve-manager/aplinfo.dat /var/lib/pve-manager/apl-info/download.proxmox.com
pveam update
||
true
fi
if
test
-f
/root/.forward
;
then
if
!
grep
-q
'|/usr/bin/pvemailforward'
/root/.forward
;
then
echo
-e
"|/usr/bin/pvemailforward
\n
$(
cat
/root/.forward
)
"
>
/root/.forward.tmp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment