Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
4e62cf02
Commit
4e62cf02
authored
Oct 17, 2007
by
coppro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some minor compile/install bugs.
parent
e65a1018
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
src/gui/update_checker.cpp
src/gui/update_checker.cpp
+8
-8
tools/linux-installer/install
tools/linux-installer/install
+2
-2
No files found.
src/gui/update_checker.cpp
View file @
4e62cf02
...
...
@@ -330,9 +330,9 @@ class RecursiveDeleter : public wxDirTraverser {
wxDirTraverseResult
OnFile
(
const
String
&
filename
)
{
if
(
!
wxRemoveFile
(
filename
))
handle_error
(
_
(
"Cannot delete "
)
+
filename
+
_
(
". "
"The remainder of the package has still been removed, if possible."
"Other packages may have been removed, including packages that this on is dependent on. Please remove manually."
));
handle_error
(
_
(
"Cannot delete "
)
+
filename
+
_
(
". "
)
_
(
"The remainder of the package has still been removed, if possible."
)
_
(
"Other packages may have been removed, including packages that this on is dependent on. Please remove manually."
));
return
wxDIR_CONTINUE
;
}
...
...
@@ -483,8 +483,8 @@ void UpdatesWindow::onApplyChanges(wxCommandEvent& ev) {
rd
.
finishDelete
();
}
else
{
if
(
!
wxRemoveFile
(
filename
))
handle_error
(
_
(
"Cannot delete "
)
+
filename
+
_
(
" to remove package "
)
+
pack
->
name
+
_
(
". "
"Other packages may have been removed, including packages that this on is dependent on. Please remove manually."
));
handle_error
(
_
(
"Cannot delete "
)
+
filename
+
_
(
" to remove package "
)
+
pack
->
name
+
_
(
". "
)
_
(
"Other packages may have been removed, including packages that this on is dependent on. Please remove manually."
));
}
}
...
...
@@ -492,9 +492,9 @@ void UpdatesWindow::onApplyChanges(wxCommandEvent& ev) {
wxURL
url
(
pack
->
url
);
wxInputStream
*
is
=
url
.
GetInputStream
();
if
(
!
is
)
{
handle_error
(
_
(
"Cannot fetch file "
)
+
pack
->
url
+
_
(
" to install package "
)
+
pack
->
name
+
_
(
". "
"Other packages may have been installed, including packages that depend on this one. "
"Please remove those packages manually or install this one manually."
));
handle_error
(
_
(
"Cannot fetch file "
)
+
pack
->
url
+
_
(
" to install package "
)
+
pack
->
name
+
_
(
". "
)
_
(
"Other packages may have been installed, including packages that depend on this one. "
)
_
(
"Please remove those packages manually or install this one manually."
));
}
wxString
filename
=
wxFileName
::
CreateTempFileName
(
_
(
""
));
wxFileOutputStream
os
(
filename
);
...
...
tools/linux-installer/install
View file @
4e62cf02
...
...
@@ -8,8 +8,8 @@
# If executed as root (including via sudo), it is installed to /usr/local/share/magicseteditor. (with an executable symlink in /usr/local/bin)
# If executed as any other user, it will fail.
case
`
id
-un
`
in
root
)
case
$UID
in
0
)
INSTALL_DIR
=
'/usr/local/share/magicseteditor/'
;
EXEC_SYMLINK
=
'/usr/local/bin/magicseteditor'
;;
*
)
...
...
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