Missing the sed lines
Bug #583383 reported by
LeoKomarov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uCareSystem |
Fix Released
|
Medium
|
Salih EMIN |
Bug Description
You're missing the "sed -i '/firstrun=1/d' <filename>" line from all of the install scripts, including depend_apt.
It has to go in on the line straight after the 1st "then".
Changed in 2clickupdate: | |
importance: | Undecided → Medium |
assignee: | nobody → Salih EMIN (salih-emin) |
milestone: | none → 5.7 |
To post a comment you must log in.
Do you me something like :
(from depend_apt.module)
## Installation to run on the first run of the script. ONLY on the first run of the script!
firstrun=0
firstrun=1
if [ $firstrun -gt 0 ]
then
sed -i '/firstrun=1/d' <filename> # <----- YOURE Sugestion ?????
if [ -f /usr/share/ icons/hicolor/ 128x128/ apps/2clickupda te_icon. png ] ....... ....... . bla bla bla
then
echo "2clickupdate ICON found"
echo ""
sleep 1
else
....