Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE
Commits
1642ff56
Commit
1642ff56
authored
Oct 04, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix locales in install script
parent
19f6e2aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
runlib
data_from_portwine/scripts/runlib
+2
-2
PortNAME-XX
portwine_install_script/PortNAME-XX
+4
-4
No files found.
data_from_portwine/scripts/runlib
View file @
1642ff56
...
...
@@ -24,7 +24,7 @@ if [ ! -d "${config_path}" ]; then
fi
if
[
!
-e
"
${
config_path
}
/
${
portname
}
_loc"
]
;
then
SET_LANG
=
`
zenity
--title
"Install
$portname
"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set"
--column
"Language:"
\
--column
=
"Set
:
"
--column
"Language:"
\
TRUE
"RUS"
\
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
config_path
}
/
${
portname
}
_loc"
...
...
@@ -181,7 +181,6 @@ else
fi
fi
export
DXVK_CONFIG_FILE
=
"
${
PORT_WINE_PATH
}
/data/dxvk.conf"
echo
"########################"
########################################################################
export
def_pfx
=
"
${
PORT_WINE_PATH
}
/data/dist/share/default_pfx/"
if
[
!
-d
"
${
def_pfx
}
"
]
;
then
...
...
@@ -203,6 +202,7 @@ else
export
PW_GAMEMODERUN
=
0
echo
"Gamemod not installed!"
fi
echo
"########################"
ADD_IN_START_PORTWINE
}
########################################################################
...
...
portwine_install_script/PortNAME-XX
View file @
1642ff56
...
...
@@ -17,7 +17,7 @@ export port_ver=XX
########################################################################
export
PROGS_INST
=
""
export
vexit
=
0
for
PROGS
in
"wget"
"curl"
"zenity"
"tar"
"xterm"
for
PROGS
in
"wget"
"curl"
"zenity"
"tar"
do
if
[
!
-x
"
`
which
"
${
PROGS
}
"
2>/dev/null
`
"
]
;
then
PROGS_INST
=
"
${
PROGS_INST
}
${
PROGS
}
"
...
...
@@ -37,7 +37,7 @@ deflink="/home/${USER}/PortWINE/${portname}"
[
$(
id
-u
)
-eq
0
]
&&
echo
"Do not run the script from the superuser!"
&&
zenity
--error
--text
"Do not run the script from the superuser!"
2> /dev/null
&&
exit
1
########################################################################
SET_LANG
=
`
zenity
--title
"Install
$portname
"
--text
"Select the installation language"
--list
--radiolist
\
--column
=
"Set"
--column
"Language:"
\
--column
=
"Set
:
"
--column
"Language:"
\
TRUE
"Russian"
\
FALSE
"English"
`
2> /dev/null
if
[
$?
-eq
1
]
;
then
exit
1
;
fi
...
...
@@ -81,7 +81,7 @@ esac
if
[
$?
-eq
1
]
;
then
echo
"error"
&&
exit
1
;
fi
########################################################################
case
$SET_LANG
in
"
Русский
"
)
"
Russian
"
)
zen
()
{
zenity
--progress
--title
=
"Установка..."
--text
=
"Настройка
${
portname
}
"
--pulsate
--auto-close
--auto-kill
--width
=
450
>
/dev/null 2>&1
}
;;
...
...
@@ -117,7 +117,7 @@ fi
mkdir
-p
"
${
PORT_WINE_PATH
}
/data/tmp"
echo
"
${
port_ver
}
"
>
"
${
PORT_WINE_PATH
}
/data/tmp/
${
portname
}
_ver"
case
$SET_LANG
in
"
Русский
"
)
"
Russian
"
)
echo
"RUS"
>
"
${
PORT_WINE_PATH
}
/data/tmp/
${
portname
}
_loc"
;;
"English"
)
echo
"ENG"
>
"
${
PORT_WINE_PATH
}
/data/tmp/
${
portname
}
_loc"
;;
...
...
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