??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó àUdac@`s¶ddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l m Z dd l m Z d „Z d d„Zd„Zd„Zd„Zedkr²eƒndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bysí --- module: opkg author: "Patrick Pelletier (@skinp)" short_description: Package manager for OpenWrt description: - Manages OpenWrt packages version_added: "1.1" options: name: description: - name of package to install/remove required: true state: description: - state of the package choices: [ 'present', 'absent' ] default: present force: description: - opkg --force parameter used choices: - "" - "depends" - "maintainer" - "reinstall" - "overwrite" - "downgrade" - "space" - "postinstall" - "remove" - "checksum" - "removal-of-dependent-packages" default: absent version_added: "2.0" update_cache: description: - update the package db first default: "no" type: bool requirements: - opkg - python sÿ - opkg: name: foo state: present - opkg: name: foo state: present update_cache: yes - opkg: name: foo state: absent - opkg: name: foo,bar state: absent - opkg: name: foo state: present force: overwrite (t AnsibleModule(t shlex_quotecC`s?|jd|ƒ\}}}|dkr;|jddƒndS(s Updates packages list. s %s updateitmsgscould not update package dbN(t run_commandt fail_json(tmodulet opkg_pathtrctoutterr((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pytupdate_package_dbZs tpresentcC`sX|dkrT|jdt|ƒt|ƒfdtƒ\}}}|dkrPtStSdS(s0 Returns whether a package is installed or not. Rs"%s list-installed | grep -q "^%s "tuse_unsafe_shelliN(R R tTruetFalse(R RtnametstateRRR((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pyt query_packagecs  4 c C`sö|j}|d}|r&d|}nd}x„|D]|}t|||ƒsQq3n|jd|||fƒ\}}} t|||ƒr¥|jdd||fƒn|d7}q3W|dkrÜ|jdtdd |ƒn|jdtdd ƒd S( s/ Uninstalls one or more packages if installed. tforces --force-%sis%s remove %s %sR sfailed to remove %s: %sitchangedsremoved %s package(s)spackage(s) already absentN(tparamsRR R t exit_jsonRR( R RtpackagestpRtremove_ctpackageRRR((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pytremove_packagesos    % c C`sö|j}|d}|r&d|}nd}x„|D]|}t|||ƒrQq3n|jd|||fƒ\}}} t|||ƒs¥|jdd||fƒn|d7}q3W|dkrÜ|jdtdd |ƒn|jdtdd ƒd S( s9 Installs one or more packages if not already installed. Rs --force-%sis%s install %s %sR sfailed to install %s: %siRsinstalled %s package(s)spackage(s) already presentN(RRR R RRR( R RRRRt install_cR!RRR((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pytinstall_packagesŒs    % cC`s7tdtdtddgdtƒdtddd dd d d gƒd tddd dddddddddddg ƒdtddddgddƒƒƒ}|jdtdgƒ}|j}|drÚt||ƒn|djd ƒ}|dd!krt|||ƒn#|dd"kr3t|||ƒndS(#Nt argument_specRtaliasestpkgtrequiredRtdefaultRtchoicest installedtabsenttremovedRttdependst maintainert reinstallt overwritet downgradetspacet postinstalltremovetchecksumsremoval-of-dependent-packagest update_cachetnos update-cachettypetbooltopkgs/bint,(spresentR+(R,R-( RtdictRt get_bin_pathRRtsplitR$R"(R RRtpkgs((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pytmain§s !'$  t__main__N(t __future__RRRR:t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLEStansible.module_utils.basicRtansible.module_utils.six.movesR RRR"R$RBt__name__(((sE/usr/lib/python2.7/site-packages/ansible/modules/packaging/os/opkg.pyt s   .