Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ce471412
Commit
ce471412
authored
May 11, 2004
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/my/mysql-4.1
parents
f16dac04
3550d045
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
Build-tools/Do-pkg
Build-tools/Do-pkg
+9
-6
support-files/MacOSX/StartupItem.Description.plist
support-files/MacOSX/StartupItem.Description.plist
+1
-1
No files found.
Build-tools/Do-pkg
View file @
ce471412
...
...
@@ -95,6 +95,7 @@ $SI_DESC= <$SUPFILEDIR/StartupItem.Description.plist>;
$SI_PARAMS
=
<
$SUPFILEDIR
/
StartupParameters
.
plist
>
;
$SI_POST
=
<
$SUPFILEDIR
/
StartupItem
.
postinstall
>
;
$SI_NAME
=
"
MySQLStartupItem
";
$SI_DIR_NAME
=
"
MySQLCOM
";
$SI_SCRIPT
=
<
$SUPFILEDIR
/
MySQL
>
;
@RESOURCES
=
qw/ ReadMe.txt postinstall preinstall /
;
@LICENSES
=
("
$SRCBASEDIR
/COPYING
","
$SRCBASEDIR
/MySQLEULA.txt
");
...
...
@@ -195,16 +196,18 @@ unless ($opt_skip_si)
&
logger
("
Cleaning up
$RESOURCE_DIR
");
&
run_command
("
rm -rf
$RESOURCE_DIR
/*
",
"
Unable to clean up
$RESOURCE_DIR
!
");
&
logger
("
Installing MySQL StartupItem files into
$PKGROOT
/MySQL
");
my
$SI_DIR
=
$PKGROOT
.
"
/
"
.
$SI_DIR_NAME
;
&
logger
("
Installing MySQL StartupItem files into
$SI_DIR
");
unless
(
$opt_dry_run
)
{
mkdir
("
$PKGROOT
/MySQL
")
or
&
abort
("
Error creating
$PKGROOT
/MySQL
");
copy
("
$SI_SCRIPT
",
"
$PKGROOT
/MySQL/
")
mkdir
("
$SI_DIR
")
or
&
abort
("
Error creating
$SI_DIR
");
copy
("
$SI_SCRIPT
",
"
$SI_DIR
/
")
or
&
abort
("
Error copying
$SI_SCRIPT
!
");
chmod
(
0755
,
"
$
PKGROOT
/MySQL
/
"
.
basename
("
$SI_SCRIPT
"));
copy
("
$SI_PARAMS
",
"
$
PKGROOT
/MySQL
/
")
chmod
(
0755
,
"
$
SI_DIR
/
"
.
basename
("
$SI_SCRIPT
"));
copy
("
$SI_PARAMS
",
"
$
SI_DIR
/
")
or
&
abort
("
Error copying
$SI_PARAMS
!
");
chmod
(
0644
,
"
$
PKGROOT
/MySQL
/
"
.
basename
("
$SI_PARAMS
"));
chmod
(
0644
,
"
$
SI_DIR
/
"
.
basename
("
$SI_PARAMS
"));
&
run_command
("
chown -R root:wheel
$PKGROOT
/*
",
"
Cannot chown
$PKGROOT
!
");
copy
("
$SI_POST
",
"
$RESOURCE_DIR
/postinstall
")
or
&
abort
("
Error copying
$SI_POST
!
");
...
...
support-files/MacOSX/StartupItem.Description.plist
View file @
ce471412
...
...
@@ -10,6 +10,6 @@
<key>
IFPkgDescriptionTitle
</key>
<string>
MySQL Startup Item
</string>
<key>
IFPkgDescriptionVersion
</key>
<string>
1.
0
</string>
<string>
1.
1
</string>
</dict>
</plist>
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