summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
Commit message (Collapse)AuthorAgeFilesLines
* also take mandriva-release file in account in common::release_file for ↵Michael Scherer2011-05-231-1/+1
| | | | consistency with others distributions
* - string changes: perl -pi -e 's!Can not!Cannot!'Ahmad Samir2011-04-041-1/+1
|
* - use 'cannot' instead of 'can not'Ahmad Samir2011-04-021-2/+2
| | | | | - use 'LDAP' instead of 'Ldap'
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* create unwind_protect() and with_private_tmp_file()Pascal Rigaux2008-09-181-0/+23
| | | | | (for future use)
* - keep in $o->{previous_release} the info about upgraded /etc/release,Pascal Rigaux2008-09-011-1/+3
| | | | | | | and pass "reason" and version to urpmi.addmedia - we also parse {version} field out of /etc/release
* (is_running) make it return the actual PID of the first found process rather ↵Thierry Vignaud2008-08-071-3/+3
| | | | than a boolean
* (is_running) factorize code between mdkapplet & net_applet so that ↵Thierry Vignaud2008-08-071-1/+10
| | | | | | | | draksnapshot-applet can reuse it too note that this code need to be adapted for multiples simultaneous sessions (being the same user or different users)
* fix reading and setting kdmrc (by resolving alternative in chroot)Olivier Blin2008-07-101-0/+6
|
* fix reading alternatives in installOlivier Blin2008-03-201-1/+1
|
* (to_utf8) export it (for rpmdrake)Thierry Vignaud2008-02-211-1/+1
|
* also detect SuSE distros (see #16604)Pascal Rigaux2008-02-011-1/+1
|
* create common::parse_release_file() out of find_root_parts()Pascal Rigaux2008-01-301-0/+8
|
* release_file(): handle /etc/fedora-releasePascal Rigaux2008-01-291-1/+1
|
* - fix configuring kdeglobals (was broken because of /etc/kderc usingPascal Rigaux2007-10-041-0/+15
| | | | | udpate-alternatives which use absolute symlinks)
* formatXiB: make it explicit that we don't support float numbersPascal Rigaux2007-09-211-1/+1
| | | | | (otherwise formatXiB(-0.1) would need to be supported whereas it was broken)
* simplify handling negative numbersPascal Rigaux2007-09-211-3/+5
|
* make formatXiB() handle negative numbers (for rpmdrake)Thierry Vignaud2007-09-211-3/+3
|
* (get_parent_uid) introduce it in order to be able to run a processThierry Vignaud2007-09-131-1/+5
| | | | | with regular user rights (#33522)
* (translate_real) simplifyThierry Vignaud2007-08-281-4/+3
|
* (translate_real) in english 1 is singular whereas 0 is plural (pixel)Thierry Vignaud2007-08-281-1/+3
|
* (translate_real) fix plural translating for C localeThierry Vignaud2007-08-281-1/+1
|
* (translate_real) fix translating plural forms by comparing the gettextThierry Vignaud2007-08-131-1/+1
| | | | | | | string to both the singular & the plural templates (#32505) (bug spoted by pixel)
* (translate_real) always use dngettext() if we have a plural stringThierry Vignaud2007-08-131-1/+1
|
* - for XFdrake: use update-alternatives command instead doing things by handPascal Rigaux2007-08-081-14/+1
| | | | | (this uses --set, new feature of update-alternatives) (#32362)
* - fix range max value >2TB when creating a partition (useful for LVs >2TB)Pascal Rigaux2007-08-061-1/+8
| | | | | | nb: >> 11 and << 11 doesn't work on floats which we use to handle >2TB partitions. perl floats are precise enough up until 512TB
* (mandrake_release_info) introduce it in order to have full release info (eg: ↵Thierry Vignaud2007-06-271-1/+5
| | | | for #31223)
* - diskdrakePascal Rigaux2007-06-111-5/+7
| | | | | o fix 1.9TB displayed as 1TB
* (to_utf8) tell perl this is now UTF-8 (spotted by #31067 and also seenThierry Vignaud2007-05-281-1/+3
| | | | | before in rpmdrake)
* re-sync after the big svn lossPascal Rigaux2007-04-251-50/+143
|
* let packages using common.pm to use Locale::gettext without requiring itPascal Rigaux2005-12-281-1/+1
|
* allow common.pm and standalone.pm to be used in drakxtools-backend without ↵Pascal Rigaux2005-12-181-1/+1
| | | | perl-Locale-gettext
* fix dropping sprintf_fixutf8 (i committed the wrong version...)Pascal Rigaux2005-12-151-1/+1
|
* - i had foolishly removed c::iconv whereas it was used still used by ↵Pascal Rigaux2005-12-151-0/+9
| | | | | | | | | | c::from_utf8 and c::to_utf8 - anyway, moving c::from_utf8 and c::to_utf8 to common::from_utf8 and common::to_utf8 - making them use Locale::gettext::iconv - Locale::gettext::iconv transform undef into standard charset (1.05-2mdk) - drop c::standard_charset (now unused)
* get rid of sprintf_fixutf8 which is no more needed with current perlPascal Rigaux2005-12-151-10/+3
| | | | | (it has been fixed long ago: before perl 5.8.3 (MDK10.0))
* use Locale::gettext for dgettext, bindtextdomain and bind_textdomain_codeset ↵Pascal Rigaux2005-12-151-1/+2
| | | | | | | instead of module c (that way we can also use dngettext, and it's more modular)
* fix looking for backup-ed release file firstPascal Rigaux2005-09-121-3/+5
|
* - new functionality: upgrade_by_removing_pkgs, enabled when upgrading redhat ↵Pascal Rigaux2005-09-021-1/+3
| | | | | | | | | | | and conectiva distributions - add file upgrade-map.conectiva.10 for precise choice of packages - save /etc/xxx-release into /root/drakx/xxx-release.upgrading when starting - release_file(): look for xxx-release.upgrading first - find_root_parts(): better logging about upgrade_by_removing_pkgs, and factorize code - when all packages are installed, remove xxx-release.upgrading and rename pkgs::removed_pkgs_to_upgrade_file()
* also look for conectiva-releasePascal Rigaux2005-08-311-1/+1
|
* move is_xbox from common to detect_devicesOlivier Blin2005-08-081-6/+1
|
* import md5file from net_applet/mdkonline/userdrakeOlivier Blin2005-07-181-0/+14
|
* do not load bloat POSIXThierry Vignaud2005-06-301-3/+2
|
* try to cleanup fs.pmPascal Rigaux2005-06-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (to have simpler dependencies between modules, esp. have some modules only required by diskdrake): - move some functions from fs to fs::mount (most keep their name, except mount_part and mount_usbfs) - move formatMount_part and formatMount_all from fs to fs::format - move some functions from fs to fs::wild_device (part2wild_device_name -> fs::wild_device::from_part) (subpart_from_wild_device_name -> fs::wild_device::to_subpart) (analyze_wild_device_name -> fs::wild_device::analyse) - formatMount_part(), formatMount_all(), fs::mount::part() don't take a prefix anymore the current situation was quite muddy we now rely on fs::get::mntpoint_prefixed() which will maybe depend on a field in $part for now, we mount every part in chroot, it seems to be what's wanted - fs::format::part() now expect $all_hds instead of $raids - fs::type::carryRootLoopback is now fs::get::carry_root_loopback() - in fs::loopback, most functions don't want a prefix anymore
* don't need use MDK::Common... when we have "use common" (which is the ↵Pascal Rigaux2005-06-101-1/+0
| | | | standard for libDrakX modules)
* use "our" instead of "use vars"Pascal Rigaux2005-06-031-4/+3
|
* drop untranslate which is unused and bad practicePascal Rigaux2005-06-031-8/+1
|
* update commentOlivier Blin2005-05-271-1/+1
|
* fix mandrake_release() when called with a prefixPascal Rigaux2005-04-271-1/+2
|
* allow using mandrake_release() with a prefixPascal Rigaux2005-04-271-2/+3
|
* create common::release_file() and use itPascal Rigaux2005-04-211-1/+6
|