From: "Grigory Batalov" <bga@altlinux.org> To: devel@lists.altlinux.org Subject: Re: [devel] Помогите отладить preinstall скрипт установщика. Date: Sat, 31 Oct 2009 23:29:33 +0300 Message-ID: <20091031232933.77c2057e@bga> (raw) In-Reply-To: <9aef269c0910311255s23a47ca9n65fe50f62435ed2c@mail.gmail.com> On Sat, 31 Oct 2009 22:55:41 +0300 Денис Корявов wrote: > Оказалось, что мой > первоначальный скрипт не учитывал того, что информация может быть > записана в 2 строки. А в установщике так и было, в итоге в переменную > perm попадало не то, что нужно. Изменил его так: > perm=`grep grp $destdir/etc/X11/xinit/Xkbmap | cut -d' ' -f2 | cut -d, -f1` А там не может оказаться две строки grp? А то добавьте head -n1 или tail -n1.
next prev parent reply other threads:[~2009-10-31 20:29 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-10-30 23:44 Денис Корявов 2009-10-31 0:28 ` Andrew Clark 2009-10-31 3:36 ` Kharitonov A. Dmitry 2009-10-31 9:51 ` Денис Корявов 2009-10-31 10:22 ` Michael A. Kangin 2009-10-31 11:58 ` Grigory Batalov 2009-10-31 11:03 ` Vladislav Zavjalov 2009-10-31 15:26 ` Michael Shigorin 2009-10-31 19:55 ` Денис Корявов 2009-10-31 20:29 ` Grigory Batalov [this message] 2009-11-02 9:40 ` Anton V. Boyarshinov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20091031232933.77c2057e@bga \ --to=bga@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git